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: 
sergio0592
Specialist III
Specialist III

Name Excel export file

Hi all,

I'am looking for achiveve this :

-i have a chart (sales per country), eg when i select Country=Russia and export chart to Excel i d like to have the Excel file already named Russia.xlsx

Do you think it's possible? Thanks

1 Solution

Accepted Solutions
QFabian
MVP
MVP

Hi @sergio0592 , sure you can do that... with a macro, can you use them?

If yes :

https://qlikviewmacro.blogspot.com/2012/01/export-to-excel-macro.html

that macro do a few things and save it as the name of the selected value, just right here :

ActiveDocument.Fields("REGION").Select val.Item(i).Text
        MyTable.ExportBiff  path & val.Item(i).Text &".xls"

Greetings!! Fabián Quezada (QFabian)
did it work for you? give like and mark the solution as accepted.

View solution in original post

2 Replies
QFabian
MVP
MVP

Hi @sergio0592 , sure you can do that... with a macro, can you use them?

If yes :

https://qlikviewmacro.blogspot.com/2012/01/export-to-excel-macro.html

that macro do a few things and save it as the name of the selected value, just right here :

ActiveDocument.Fields("REGION").Select val.Item(i).Text
        MyTable.ExportBiff  path & val.Item(i).Text &".xls"

Greetings!! Fabián Quezada (QFabian)
did it work for you? give like and mark the solution as accepted.
sergio0592
Specialist III
Specialist III
Author

Thanks!!