Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hello guys,
I have a quite simple question....
I want to build a macro that will reset the variables (which I created on the GUI) to zero.
How it can be done? I look at the API GUIDE but still didn't succeed.
Is it possiable to reset more then one variable in the same macro?
Is it possiable to determine the new value of the variable(s) via macro?
thanx guys. [:)]
Hi,
If i have understood question. following would be the answer.
set v = ActiveDocument.GetVariable("Variable1")
v.SetContent "123",true
this will help you to set the value of the variable.
- Sridhar
Hi,
If i have understood question. following would be the answer.
set v = ActiveDocument.GetVariable("Variable1")
v.SetContent "123",true
this will help you to set the value of the variable.
- Sridhar
Yes, you understand it properly.
Great ,it works
THANX