<?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 Macro to export entire sheet in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-export-entire-sheet/m-p/619441#M228153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a macro as a button action which exports a sheet to an image file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub SendImage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.ActiveSheet.ExportBitmapToFile&amp;nbsp; "C:\\MyFile.jpg"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.Sheets("SH01").ExportBitmapToFile "C:\\MyFile2.jpg"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 1st image (created from the active sheet) is fine but the 2nd image (created from a different non-active sheet) is blank. I don't want to put the button on the sheet I wish to print, otherwise it will be included on the image !&lt;/P&gt;&lt;P&gt;Can anyone explain what is wrong with the second line of my macro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Apr 2014 13:32:45 GMT</pubDate>
    <dc:creator>richard_chilvers</dc:creator>
    <dc:date>2014-04-09T13:32:45Z</dc:date>
    <item>
      <title>Macro to export entire sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-export-entire-sheet/m-p/619441#M228153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a macro as a button action which exports a sheet to an image file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub SendImage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.ActiveSheet.ExportBitmapToFile&amp;nbsp; "C:\\MyFile.jpg"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.Sheets("SH01").ExportBitmapToFile "C:\\MyFile2.jpg"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 1st image (created from the active sheet) is fine but the 2nd image (created from a different non-active sheet) is blank. I don't want to put the button on the sheet I wish to print, otherwise it will be included on the image !&lt;/P&gt;&lt;P&gt;Can anyone explain what is wrong with the second line of my macro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 13:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-export-entire-sheet/m-p/619441#M228153</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2014-04-09T13:32:45Z</dc:date>
    </item>
  </channel>
</rss>

