<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Macro to export multiple charts to Excel in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1614238#M933052</link>
    <description>&lt;P&gt;Could you please guide how to save the exported document automatically?&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2019 11:30:26 GMT</pubDate>
    <dc:creator>Ankit007</dc:creator>
    <dc:date>2019-08-20T11:30:26Z</dc:date>
    <item>
      <title>Macro to export multiple charts to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1071623#M933047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've done a search on the forum and came across a document which details the exporting of multiple charts to Excel (in my example below, 4 in total), using the following macro (this is exactly how it is in the Edit Module)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub exportToExcel_VoidDetail&lt;BR /&gt; &lt;BR /&gt; '// Array for export definitions&lt;BR /&gt; Dim aryExport(3,3)&lt;BR /&gt; &lt;BR /&gt; aryExport(0,0) = "objNewVoids"&lt;BR /&gt; aryExport(0,1) = "New Voids - To Be Categorised"&lt;BR /&gt; aryExport(0,2) = "A1" &lt;BR /&gt; aryExport(0,3) = "data"&lt;BR /&gt; &lt;BR /&gt; aryExport(1,0) = "objVoidDetailNonRental" &lt;BR /&gt; aryExport(1,1) = "Non-Rental Void Detail" &lt;BR /&gt; aryExport(1,2) = "A1"&lt;BR /&gt; aryExport(1,3) = "data"&lt;BR /&gt; &lt;BR /&gt; aryExport(2,0) = "objVoidDetailRental" &lt;BR /&gt; aryExport(2,1) = "Rental Void Detail" &lt;BR /&gt; aryExport(2,2) = "A1"&lt;BR /&gt; aryExport(2,3) = "data"&lt;BR /&gt; &lt;BR /&gt; aryExport(3,0) = "objVoidDetailNonResidential" &lt;BR /&gt; aryExport(3,1) = "Non-Residential Void Detail" &lt;BR /&gt; aryExport(3,2) = "A1"&lt;BR /&gt; aryExport(3,3) = "data"&lt;BR /&gt; &lt;BR /&gt; Dim objExcelWorkbook 'as Excel.Workbook&lt;BR /&gt; Set objExcelWorkbook = copyObjectsToExcelSheet(ActiveDocument, aryExport)&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; '// Now either just leave Excel open or do some other stuff here&lt;BR /&gt; '// like saving the excel, some formatting stuff, ...&lt;BR /&gt; &lt;BR /&gt; end sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a button object with the action 'Run Macro' and the Macro Name of 'exportToExcel_Void Detail. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not familiar with macros and am obviously missing something because when I click the button object, instead of running the macro (as I would expect it to), it opens the Edit Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone review the above and let me know what the exact script should be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1071623#M933047</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to export multiple charts to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1071624#M933048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hope this&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/966144"&gt;Re: Exporting multiple sheet objects from the multiple sheets?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/" title="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/"&gt;QlikTip #32: Exporting multiple QV objects to a single Excel document&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:10:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1071624#M933048</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-03-02T12:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to export multiple charts to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1071625#M933049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use the complete macro and not the few code-snippets which are shown as example. On the end of this article is a download-link: &lt;A href="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/" title="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/"&gt;QlikTip #32: Exporting multiple QV objects to a single Excel document&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1071625#M933049</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-03-02T12:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to export multiple charts to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1071626#M933050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that tip there Marcus.&amp;nbsp; Like I say, I have no idea when it comes to macros... including the full text works.&amp;nbsp; Many thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1071626#M933050</guid>
      <dc:creator />
      <dc:date>2016-03-02T12:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to export multiple charts to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1511689#M933051</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've noticed that if you try Text Objects, instead of exporting it, it pastes whatever is on your clipboard, so it doesn't seem to be copying the text objects?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vinesh&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 17:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1511689#M933051</guid>
      <dc:creator>vinesh_panchal</dc:creator>
      <dc:date>2018-11-23T17:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to export multiple charts to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1614238#M933052</link>
      <description>&lt;P&gt;Could you please guide how to save the exported document automatically?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 11:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1614238#M933052</guid>
      <dc:creator>Ankit007</dc:creator>
      <dc:date>2019-08-20T11:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to export multiple charts to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1614248#M933053</link>
      <description>&lt;P&gt;In the macro you indicate in which document you want it to go into, so you can save a template excel document and use that to export into and that can be saved in the folders you wish for it to be stored&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 11:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1614248#M933053</guid>
      <dc:creator>vinesh_panchal</dc:creator>
      <dc:date>2019-08-20T11:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to export multiple charts to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1614250#M933054</link>
      <description>&lt;P&gt;I've found a way to export text objects, you have to store the text in a variable and copy the content of the variable into the cell you wish for it to be stored then format it as per how you've got it formatted. A bit long winded but works for me.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 11:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1614250#M933054</guid>
      <dc:creator>vinesh_panchal</dc:creator>
      <dc:date>2019-08-20T11:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to export multiple charts to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1614254#M933055</link>
      <description>Thanks for replying, I am using ActiveWorkbook.SaveAs Filename:= "C:\new.xlsx" to save the workbook but it is not working and getting a msg "Macro parsed failed. Functionality was lost".</description>
      <pubDate>Tue, 20 Aug 2019 11:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-export-multiple-charts-to-Excel/m-p/1614254#M933055</guid>
      <dc:creator>Ankit007</dc:creator>
      <dc:date>2019-08-20T11:53:29Z</dc:date>
    </item>
  </channel>
</rss>

