Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

brindlogcool
Not applicable

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.

Tags (2)
5 Replies
jason_michaelid
Not applicable

Macro

Doesn't the function GetCurrentSelections() do this?

jason_michaelid
Not applicable

Macro

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

Not applicable

Macro

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
Not applicable

Re: Macro

@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_michaelid
Not applicable

Macro

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