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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
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

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.