Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
I am getting object required v error when trying to execute the below macro
Sub test
set v = ActiveDocument.Variables("Variable1")
msgbox(v.GetContent.String)
End sub
Hi Riper,
Thanks i got the solution for Passing Inputbox variable value to macro variable.
Sub test
Dim Ibox1
set v = ActiveDocument.Variables("Variable12")
Ibox1=v.GetContent.String
End sub
Do you have a variable called "Variable1"?
Thanks Riper ,
Actually that is Varaible12 not Variable1.
I have one more problem how to assign this Variable12 value to variable created in macro.
Hi Riper,
Thanks i got the solution for Passing Inputbox variable value to macro variable.
Sub test
Dim Ibox1
set v = ActiveDocument.Variables("Variable12")
Ibox1=v.GetContent.String
End sub