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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
brindlogcool
Creator III
Creator III

Macro

Hi,

Is there any way i can store the current selections in a Single variable and pass the varible to excel and store it in a cell. I tried to but i  am not able to store all the current selections values in a single variable and paste it in a excel.

5 Replies
Jason_Michaelides
Partner - Master II
Partner - Master II

Doesn't the function GetCurrentSelections() do this?

Jason_Michaelides
Partner - Master II
Partner - Master II

(Or GetFieldSelections() - I can't remember off hand!)

Not applicable

In user preferences, Export tab, check both boxes under  Selection Stamps in Export.  That will show all your current selections at the end of the excel spreadsheet.

brindlogcool
Creator III
Creator III
Author

@Jason,

Thanks for your response

Using GetCurrentSelections i can assign it to a variable. Now i found the way to paste in excel but it is getting pasted with rectangle at the end.

@Dreamerlou

Thanks for your response it is working at the client but not on Accesspoint. I have unchecked the Allow Export(As per requirement).

Jason_Michaelides
Partner - Master II
Partner - Master II

Hmmm...probably some weird Excel encoding thing. Try wrapping Text() around your variable.