<?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: export chart macro issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/export-chart-macro-issue/m-p/562861#M210083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would use only a single button, which read the required charts (possible values from a extra field - created per inline-load) and run within a loop the export-routine. For code-snippets to read fields and using loops see APIGuide.qvw.&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, 07 Aug 2013 11:36:15 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2013-08-07T11:36:15Z</dc:date>
    <item>
      <title>export chart macro issue</title>
      <link>https://community.qlik.com/t5/QlikView/export-chart-macro-issue/m-p/562860#M210082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created 20 buttons with the macro below to export charts. The charts to be exported names are Chart1, Chart2 etc..&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt; &lt;BR /&gt; Button 1 macro&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;set obj=ActiveDocument.GetSheetObject("CH12")&lt;/P&gt;&lt;P&gt;obj.ExportBitmapTofile "C:\eWindow\Monthly Stats\August Monthly Stats\TestChart1.jpeg"&lt;/P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;The problem now is when I created a Button2 with simlar macro but chart name changed toTestChart2.jpeg, the chart name in macro in Button1 will be changed to TestChart2.jpeg as well.&lt;BR /&gt;&lt;BR /&gt;I need each Button to have a different chart name to be exported. Any suggestions would be much appreciated!&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;Thanks,&lt;BR /&gt;JLee&lt;/P&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 07:53:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/export-chart-macro-issue/m-p/562860#M210082</guid>
      <dc:creator />
      <dc:date>2013-08-07T07:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: export chart macro issue</title>
      <link>https://community.qlik.com/t5/QlikView/export-chart-macro-issue/m-p/562861#M210083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would use only a single button, which read the required charts (possible values from a extra field - created per inline-load) and run within a loop the export-routine. For code-snippets to read fields and using loops see APIGuide.qvw.&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, 07 Aug 2013 11:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/export-chart-macro-issue/m-p/562861#M210083</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-08-07T11:36:15Z</dc:date>
    </item>
  </channel>
</rss>

