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

Setting Variable Value by marco

I have exceptionally basic VB script skills but I want to change a variable value by a macro, I have seen some answers on the forum but I can not make the scripts work.....so

SUB ActivateOpertionalView

how do I get varialble VisibleReports = "Operational" ??





2 Replies
Not applicable
Author

This is what you need:

ActiveDocument.Variables("VisibleReports").SetContent "Operational", true

Have a look at the API guide - its not the most intuitive guide but persevere with it and it is actually very valuable.

Regards,

Gordon

Not applicable
Author

thanks perfect