Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Extract conditions from sheets?

Is there a way to extract the show condition of the sheets in an application from a macro?

Thanks

1 Solution

Accepted Solutions
gmoraleswit
Partner - Creator II
Partner - Creator II

I found this example in the API:

set mysheet=ActiveDocument.ActiveSheet

set sp=mysheet.GetProperties

sp.Show.Always = false

sp.Show.Expression.v = "sum(Sales)>4000"

mysheet.SetProperties sp

Hope this helps you

View solution in original post

3 Replies
datanibbler
Champion
Champion

Hi Jonathan,

sure that should be possible if you can read the macro. Could you post or attach it?

Not applicable
Author

Hi DataNibbler,

At the moment, I don't have a macro set up for this. I am trying to find the function that will return these conditions.

gmoraleswit
Partner - Creator II
Partner - Creator II

I found this example in the API:

set mysheet=ActiveDocument.ActiveSheet

set sp=mysheet.GetProperties

sp.Show.Always = false

sp.Show.Expression.v = "sum(Sales)>4000"

mysheet.SetProperties sp

Hope this helps you