Hello Everyone, I have created a INPUTFIELD variable and put that in the pivot table in the expression using INPUTSUM. Now i want to read the value of the changed inputfield in the macro. I am getting the error for object required.
But if i do the same thing with INPUTBOX variable it works fine and shows msgbox with variable value. see below below code
set a = ActiveDocument.getvariable("Variable1")
msgbox(a.getcontent.string)
Now if i try to display the value of inputfield in the same way as above it gives me object required: 'a' error.
It will great if anyone can help me out with this.
Regards.