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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
saumyashah90
Specialist
Specialist

To assign macro variable value to qlikview variable.

I have macro varialble name vColor,and i want to assign value of vColor to a qlikview variable vAlpha.How can i do it?

1 Solution

Accepted Solutions
kuba_michalik
Partner - Specialist
Partner - Specialist

What do you mean by macro variable? Variable in the macro module? If so, then:

set v = ActiveDocument.Variables("vAlpha")

v.SetContent vColor, true

If the QlikView variable did not exist before, you can create it with

ActiveDocument.CreateVariable "vAlpha"

View solution in original post

1 Reply
kuba_michalik
Partner - Specialist
Partner - Specialist

What do you mean by macro variable? Variable in the macro module? If so, then:

set v = ActiveDocument.Variables("vAlpha")

v.SetContent vColor, true

If the QlikView variable did not exist before, you can create it with

ActiveDocument.CreateVariable "vAlpha"