Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
adiarnon
Creator III
Creator III

problem with macro syntax

hi,

i heva a problem with the syntax in my of my macro -

ActiveDocument.Fields("TR_Year").Select ActiveDocument.variables("v_year").getcontent

whats wrong?

tnx, adi

Labels (1)
1 Solution

Accepted Solutions
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this

ActiveDocument.Fields("TR_Year").Select ActiveDocument.GetVariable("v_year").GetContent.String


Regards,

Jagan.

View solution in original post

2 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this

ActiveDocument.Fields("TR_Year").Select ActiveDocument.GetVariable("v_year").GetContent.String


Regards,

Jagan.

jagan
Partner - Champion III
Partner - Champion III

Hi Adi,

Please close this thread if you got the solution.

Regards,

Jagan.