Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi
how can store some macro result in variable overview
i want to use the macro result in some where else in my document
This sets the variable var1 to value 5
Myvalue = 5
set v = ActiveDocument.Variables("var1")
v.SetContent Myvalue ,true
This sets the variable var1 to value 5
Myvalue = 5
set v = ActiveDocument.Variables("var1")
v.SetContent Myvalue ,true