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 assign zero to a specific qlikview variable in a macro script?

How to assign zero to a specific qlikview variable in a macro script?

2 Replies
Anonymous
Not applicable
Author

ActiveDocument.Variables("YourVariable").SetContent 0, true

Edit: On the other hand - do you really need a macro?  You can use action.

MayilVahanan

HI

sub test

ActiveDocument.Variables("vTest").SetContent 0, true

end sub

Hope that helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.