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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
omid5ive
Creator II
Creator II

how can i store macro result in variable

hi

how can store some macro result in variable overview
i want to use the macro result in some where else in my document

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

This sets the variable var1 to value 5

Myvalue = 5

set v = ActiveDocument.Variables("var1")

v.SetContent Myvalue ,true


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

This sets the variable var1 to value 5

Myvalue = 5

set v = ActiveDocument.Variables("var1")

v.SetContent Myvalue ,true


talk is cheap, supply exceeds demand