Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
On May 18th at 10AM EDT we will answer your QlikView questions live. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
adiarnon
Creator III
Creator III

Change Variable in a Macro


HI,

I need to change a variable in onr of my macro's

what is the syntax tor that?

tnx

adi

1 Solution

Accepted Solutions
jagan
MVP
MVP

Hi,

Try like this

SUB setVariable(varName, varValue)

set v = ActiveDocument.Variables(varName)

v.SetContent varValue, true

END SUB

Regards,

Jagan.

View solution in original post

2 Replies
jagan
MVP
MVP

Hi,

Check this thread hope it helps you.

Regards,

jagan.

jagan
MVP
MVP

Hi,

Try like this

SUB setVariable(varName, varValue)

set v = ActiveDocument.Variables(varName)

v.SetContent varValue, true

END SUB

Regards,

Jagan.

View solution in original post