Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Export Charts based on variables into excel or PDF

Hi community,

Is it possible to export the different charts which are stored in a variable into excel or PDF using macro ?

5 Replies
Not applicable
Author

I believe, you can change the Macro Name based on Your Variable Value

Action --> External --> Run Macro

Write Expression: IF('$(vExportExcel'='Y', ExportToExcelMacro , ExportToPDFMacro)

If this is not working, create two buttons based on your variable value, always show only one button either ExportToExcelMacro or ExportToPDFMacro

Not applicable
Author

Hi Dathu,

Thanks for the reply.

I have stored all the Sheet objects into a variable and wanted to print them based on the user slection.

This variable pulls out the user selected chart. Now I want to export that chart into either excel or PDF.

I am new to Qlikview and not good at writing macro. Can you please explain me in detail.

thanks again

Not applicable
Author

Hi Dathu,

Thanks for re post.

This Case is not similar to mine. I am trying to pull the chart to Excel.

~Walter

Not applicable
Author

curtChampsjtg

Hello Sir,

Loop Charts and Field Values - Excel Export Macro

I found your article very useful, Now i am trying to implement the logic in exporting the chart stored in the Variable.

Can you help me in implementing this ??

Thanks in advance

\\