Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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
Specialist III
Specialist III

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"

QFabian

View solution in original post

2 Replies
QFabian
Specialist III
Specialist III

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"

QFabian
sergio0592
Specialist III
Specialist III
Author

Thanks!!