Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

adiarnon
Contributor 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
MVP & Luminary
MVP & Luminary

Re: problem with macro syntax

Hi,

Try like this

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


Regards,

Jagan.

View solution in original post

2 Replies
MVP & Luminary
MVP & Luminary

Re: problem with macro syntax

Hi,

Try like this

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


Regards,

Jagan.

View solution in original post

MVP & Luminary
MVP & Luminary

Re: problem with macro syntax

Hi Adi,

Please close this thread if you got the solution.

Regards,

Jagan.