<?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 Create a macro with button to export multiple charts to separate sheets in single Excel file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-macro-with-button-to-export-multiple-charts-to-separate/m-p/1576531#M741551</link>
    <description>&lt;P&gt;I am new to macros overall, but essentially I am trying to create a button that will run a macro that will export multiple charts (5 for this example) to 5 different worksheets in a single Excel file. In a perfect world I'd have the option to set a name for the file as I'll be doing this over and over and don't want it to save everything as the same file name.&lt;/P&gt;&lt;P&gt;So for an example I want to export charts&amp;nbsp;CH653 and CH779 and CH800 and CH675 and CH678 (I'll stop there). I then want to have it rename the sheets to what I want (say "Chart 653" and "Chart779" and "Chart800" ...) and then AutoFit all the columns.&lt;/P&gt;&lt;P&gt;I have tried looking at multiple posts with lots of similarities, but I can't get the charts to get past a second sheet and then none of the columns are auto-sized.&lt;/P&gt;&lt;P&gt;Can anyone provide a script that will do this?&lt;/P&gt;&lt;P&gt;Other details that might be helpful include:&lt;/P&gt;&lt;P&gt;- Save location = "C:\Files\..."&lt;/P&gt;&lt;P&gt;- Charts all have variable #'s of rows depending on the selections/filters applied&lt;/P&gt;&lt;P&gt;- Do I need to specify each sheet as to column range or can you do a blanket column range of "A:BB" or something like that?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>dawgfather</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Create a macro with button to export multiple charts to separate sheets in single Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-macro-with-button-to-export-multiple-charts-to-separate/m-p/1576531#M741551</link>
      <description>&lt;P&gt;I am new to macros overall, but essentially I am trying to create a button that will run a macro that will export multiple charts (5 for this example) to 5 different worksheets in a single Excel file. In a perfect world I'd have the option to set a name for the file as I'll be doing this over and over and don't want it to save everything as the same file name.&lt;/P&gt;&lt;P&gt;So for an example I want to export charts&amp;nbsp;CH653 and CH779 and CH800 and CH675 and CH678 (I'll stop there). I then want to have it rename the sheets to what I want (say "Chart 653" and "Chart779" and "Chart800" ...) and then AutoFit all the columns.&lt;/P&gt;&lt;P&gt;I have tried looking at multiple posts with lots of similarities, but I can't get the charts to get past a second sheet and then none of the columns are auto-sized.&lt;/P&gt;&lt;P&gt;Can anyone provide a script that will do this?&lt;/P&gt;&lt;P&gt;Other details that might be helpful include:&lt;/P&gt;&lt;P&gt;- Save location = "C:\Files\..."&lt;/P&gt;&lt;P&gt;- Charts all have variable #'s of rows depending on the selections/filters applied&lt;/P&gt;&lt;P&gt;- Do I need to specify each sheet as to column range or can you do a blanket column range of "A:BB" or something like that?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-macro-with-button-to-export-multiple-charts-to-separate/m-p/1576531#M741551</guid>
      <dc:creator>dawgfather</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create a macro with button to export multiple charts to separate sheets in single Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-macro-with-button-to-export-multiple-charts-to-separate/m-p/1576541#M741552</link>
      <description>i dont have 1 single answer for you. but did you check below link?&lt;BR /&gt;it has a few different ones which you can combine the principles to achive what you need.&lt;BR /&gt;from first look combination of #2, #36 and #38 might get you there.&lt;BR /&gt;&lt;BR /&gt;p.s. fyi your end users will need IE plug in for macros to work&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Documents/Useful-Qlikview-Macros/ta-p/1494530" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Documents/Useful-Qlikview-Macros/ta-p/1494530&lt;/A&gt;</description>
      <pubDate>Fri, 03 May 2019 19:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-macro-with-button-to-export-multiple-charts-to-separate/m-p/1576541#M741552</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-05-03T19:13:59Z</dc:date>
    </item>
  </channel>
</rss>

