Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
vishalj88
Contributor II
Contributor II

Macro to Export object in Separate Sheet

Hi,

Let's say i have sheet 1(id = sh1), sheet 2(id = sh2) and straight table(id = Ch1) in sheet 2. I'm currently in Sheet 1 and would like to create a button that runs a macro to do the following:

- export the data in straight table that is in sheet 2 to csv. 

- the macro/button should be on sheet 1.

Can someone help with the macro to do this? Let me know if there are any questions.

Thanks

Vishal

Labels (5)
1 Reply
Brett_Bleess
Former Employee
Former Employee

There are multiple prior posts on macros related to exporting to CSV, but you can simply use the Button object Export Action to export to a CSV file as well, no macro needed, which will be much more efficient than a macro which will force a single-thread condition on the calculations etc.  

Here is one of the prior Community Posts I found doing a quick search:

https://community.qlik.com/t5/QlikView-Scripting/Export-to-CSV/m-p/680173#M43627

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.