Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to hide a Sheet without conditional show

Hi,

I want to hide a sheet by wrting a macro.Please help me if anyboady implemented the solution for the same.

I created a button called as XXXX and once i qlik on this button,need to hide "YYYY" sheet.

thanks in advance.

Ram

5 Replies
blaise
Partner - Specialist
Partner - Specialist

Set a conditional show on the Sheet if a variable is set to 1, f.ex. if($(varSheetShow)=1,1,0)

Write a macro that sets the variable varSheetShow to 1.

Not applicable
Author

Yes i already tried this.In this case how can paas the value to the conditional show.

Not applicable
Author

Yes i already tried this.In this case how can paas the value to the conditional show.

Not applicable
Author

I mean into $(varSheetShow)= through macro.Can u paste the sample script if you have

blaise
Partner - Specialist
Partner - Specialist

Sub dimShow

set var = ActiveDocument.Variables("dimShow")

var.SetContent 1,true

end sub