This content has been marked as final. Show 2 replies
I wonder if someone can help.
I set up a variable in script: LET vZoom=0;
I'm trying to create a button that will toggle the value of the variable between 0 and 1 every time I press it by running the following macro:
Select Case vZoom
ActiveDocument.Variables("vZoom").SetContent vTest, true
However, the button only seems to change the value the first time I press it and stops working.
Am I missing something?
Thanks for helping