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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
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?

Labels (1)
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"