<?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 Export a sheet with an vbs file from API in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-a-sheet-with-an-vbs-file-from-API/m-p/252415#M1206162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want for your help urgent basic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jun 2010 05:22:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-04T05:22:38Z</dc:date>
    <item>
      <title>Export a sheet with an vbs file from API</title>
      <link>https://community.qlik.com/t5/QlikView/Export-a-sheet-with-an-vbs-file-from-API/m-p/252411#M1206158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using this vbs code to export the entire sheet to an bmp image&lt;BR /&gt;&lt;BR /&gt;CONST QvDoc = "C:\DoImageExport2.qvw"&lt;BR /&gt;CONST QvObj = "SH01"&lt;BR /&gt;CONST ImagePath = "C:\MyExportedImage2.bmp"&lt;BR /&gt;Call DoImageExport(QvDoc, QvObj, ImagePath)&lt;BR /&gt;Sub DoImageExport(QvDoc, QvObj, ImagePath)&lt;BR /&gt; Set objQvApp = CreateObject("QlikTech.QlikView")&lt;BR /&gt; Set objQvDoc = objQvApp.OpenDoc(QvDoc)&lt;BR /&gt; Set objQvObj = objQvDoc.ActivateSheet(QvObj)&lt;BR /&gt; objQvObj.ExportBitmapToFile ImagePath&lt;BR /&gt; objQvDoc.CloseDoc&lt;BR /&gt; objQvApp.Quit&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;But the image does not contain any data only the sheet and and empty graph. Has anyone an idea ?&lt;BR /&gt;Or does anyone have an working vbs API example to export an sheet with objects and data on it ?&lt;BR /&gt;&lt;BR /&gt;I want to use the function in qv under File-&amp;gt; Export -&amp;gt; Export Sheet Image&lt;/P&gt;&lt;P&gt;thanx for any replies&lt;BR /&gt;(I am using QV 9.00.7440.8 SR3 64-bit)&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;// Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 07:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-a-sheet-with-an-vbs-file-from-API/m-p/252411#M1206158</guid>
      <dc:creator />
      <dc:date>2010-04-20T07:54:15Z</dc:date>
    </item>
    <item>
      <title>Export a sheet with an vbs file from API</title>
      <link>https://community.qlik.com/t5/QlikView/Export-a-sheet-with-an-vbs-file-from-API/m-p/252412#M1206159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this;&lt;/P&gt;&lt;P&gt;ActiveDocument.Sheets("Main").ExportBitmapToFile "C:\MyImage.bmp"&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 04:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-a-sheet-with-an-vbs-file-from-API/m-p/252412#M1206159</guid>
      <dc:creator />
      <dc:date>2010-04-22T04:08:23Z</dc:date>
    </item>
    <item>
      <title>Export a sheet with an vbs file from API</title>
      <link>https://community.qlik.com/t5/QlikView/Export-a-sheet-with-an-vbs-file-from-API/m-p/252413#M1206160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh&lt;/P&gt;&lt;P&gt;Well I am using that function in the script if you look a bit closer.&lt;BR /&gt;The problem is that there is no data on the sheet only empty graphs and the sheet itself.&lt;/P&gt;&lt;P&gt;// Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 06:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-a-sheet-with-an-vbs-file-from-API/m-p/252413#M1206160</guid>
      <dc:creator />
      <dc:date>2010-04-22T06:47:05Z</dc:date>
    </item>
    <item>
      <title>Export a sheet with an vbs file from API</title>
      <link>https://community.qlik.com/t5/QlikView/Export-a-sheet-with-an-vbs-file-from-API/m-p/252414#M1206161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when we fatch image with the help of this macro the image are crouching&lt;/P&gt;&lt;P&gt;Please help me&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 06:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-a-sheet-with-an-vbs-file-from-API/m-p/252414#M1206161</guid>
      <dc:creator />
      <dc:date>2010-06-03T06:24:05Z</dc:date>
    </item>
    <item>
      <title>Export a sheet with an vbs file from API</title>
      <link>https://community.qlik.com/t5/QlikView/Export-a-sheet-with-an-vbs-file-from-API/m-p/252415#M1206162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want for your help urgent basic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 05:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-a-sheet-with-an-vbs-file-from-API/m-p/252415#M1206162</guid>
      <dc:creator />
      <dc:date>2010-06-04T05:22:38Z</dc:date>
    </item>
    <item>
      <title>Export a sheet with an vbs file from API</title>
      <link>https://community.qlik.com/t5/QlikView/Export-a-sheet-with-an-vbs-file-from-API/m-p/252416#M1206163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I managed to solve this problem. My was relates to delays..&lt;BR /&gt;- QV needs som time to load the data before I can do any export of any images.&lt;BR /&gt;&lt;BR /&gt;save this file below as an.vbs file and execute it with cscript.exe %YourFileName%.vbs&lt;/P&gt;&lt;P&gt;CONST QvDoc = "C:\test.qvw"&lt;BR /&gt;CONST QvObj = "SH01"&lt;BR /&gt;CONST ImagePath = "C:\Image.bmp"&lt;BR /&gt;Call DoImageExport(QvDoc, QvObj, ImagePath)&lt;BR /&gt;Sub DoImageExport(QvDoc, QvObj, ImagePath)&lt;BR /&gt; Set objQvApp = CreateObject("QlikTech.QlikView")&lt;BR /&gt; Set objQvDoc = objQvApp.OpenDoc(QvDoc)&lt;BR /&gt; WScript.sleep 1000&lt;BR /&gt; Set objQvObj = objQvDoc.ActivateSheet(QvObj)&lt;BR /&gt; objQvObj.ExportBitmapToFile ImagePath&lt;BR /&gt; objQvDoc.CloseDoc&lt;BR /&gt; objQvApp.Quit&lt;BR /&gt;End Sub&lt;BR /&gt;&lt;BR /&gt;If there is anyone with an example howto change the screen resolution in the script then please let me know.&lt;BR /&gt;I need to export the image in 800x600 resolution.&lt;BR /&gt;// Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 07:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-a-sheet-with-an-vbs-file-from-API/m-p/252416#M1206163</guid>
      <dc:creator />
      <dc:date>2010-06-04T07:06:07Z</dc:date>
    </item>
  </channel>
</rss>

