Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
I don't know why this Macro is failing.
Sub Clear
For i = 0 to 19 Step 1
ActiveDocument.Variables("vGroup"&i).SetContent "",true
Next
End Sub
Anyone see something wrong?
What I need is to clear variables vGroup from 1 to 19
For loop should start with 1, not zero?
For loop should start with 1, not zero?
Hi,
Your code is running right for me.
What kind of mistake are you getting for?
Ag+
Sorry, my fault, idiot me...
Thanks for Awnsers!