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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

export to excel with condition using macros

Hi,

I want export to my datas to excel using macros but i want export my data with some condition

for example I have an table with date,name and data in that i have date from 11-02-2014 to 21-02-2014 my condition is  i want to export the data which is after 16-02-2014 i.e.,from 16-02-2014 to 21-02-2014.

I have attached a sample qvw file with this mail please help me..

Thanks in advance...

11 Replies
Not applicable
Author

thanks gonzalo this what i need but if there is chance for exporting those data without selection in a chart..?

gonzaloruizgonz
Partner - Creator
Partner - Creator

Yes, modifie the macro to this one:

Sub sat

set obj = ActiveDocument.GetSheetObject("CH01")

obj.ExportEx "C:\test.xls", 5  

end sub