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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditional display of sheet in version 8.5

It is possible to use a macro for hide or display a sheet with conditional expression?

Thanks

Master

2 Replies
Not applicable
Author

If you right hand click and go to the sheet properties.. Then layout.. you can set your condition for being able to view the sheet.

Not applicable
Author

Thanks but if I use the sheet properties and then I change the selection by macro it seems tio lose the conditional expression.

For this reason I wan to tom tray to defibne the expression for conditional display by using a Imacro.

I've found this example



set mysheet=ActiveDocument.ActiveSheet
set sp=mysheet.GetProperties
sp.ShowAlways = false
sp.ShowExpression = "sum(Sales)>4000"
mysheet.SetProperties sp

but it don't work in my version.