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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Get a Macro variable in Qlikview

Hi ,

I'm trying to get the current active object into a Qlikview variable.

I did a Macro where I have a vbscript variable. It' working

Set ContainerObj = ActiveDocument.GetSheetObject("DUP")

set ContProp=ContainerObj.GetProperties

var= ContProp.SingleObjectActiveIndex

msgbox "var = " & var

end sub

Do you know how I can bring that in my app in order to use it?

Thanks

Cheers

1 Reply
marcus_sommer

If your creates a variable "YourVariable" in your application you could fill them with:

...

ActiveDocument.Variables("YourVariable").SetContent var, true

...

- Marcus