Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
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

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

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