<?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: Loop through straight table charts and export to QVDs in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loop-through-straight-table-charts-and-export-to-QVDs/m-p/521155#M194730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only tables that you create in the script can be exported to qvd's. For chart objects you need a macro. See for example this blog post: &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>Thu, 24 Oct 2013 16:59:13 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-10-24T16:59:13Z</dc:date>
    <item>
      <title>Loop through straight table charts and export to QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-straight-table-charts-and-export-to-QVDs/m-p/521153#M194728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been looking or a vb module to loop through a .qvw and export straight table charts to QVD files.&amp;nbsp; Many of my straight table charts build columns using expressions, so I want to export them to QVD files, then use those QVD files as tables in other QVW files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the following from this Q&amp;amp;A web page:&amp;nbsp; &lt;A href="http://qlikviewnotes.blogspot.com/2011/02qvd-questions-and-answers.html"&gt;http://qlikviewnotes.blogspot.com/2011/02qvd-questions-and-answers.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For i = 1 to NoOfTables()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET vTableName = TableName($(i)-1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET vOutfile = '$(vTableName).qvd';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STORE [$(vTableName)] INTO [$(vOutfile)] (qvd);&lt;/P&gt;&lt;P&gt;NEXT i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Been trying to adapt this to my QVW, but can't even get the module to save properly.&amp;nbsp; Keep getting stuck on how to get the loop working.&amp;nbsp; Can this be adapted to look through and find straight table charts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 14:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-straight-table-charts-and-export-to-QVDs/m-p/521153#M194728</guid>
      <dc:creator>jzimolong</dc:creator>
      <dc:date>2013-10-24T14:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through straight table charts and export to QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-straight-table-charts-and-export-to-QVDs/m-p/521154#M194729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just realized the above belongs in the LOAD script, so I got it working there and is useful for loading all tables into QVD files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, can something similar to this be done via macro so I can export my straight table charts to QVD?&amp;nbsp; Basically, a loop to cycle through charts, identify which are straight table charts, and then export content into QVD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 16:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-straight-table-charts-and-export-to-QVDs/m-p/521154#M194729</guid>
      <dc:creator>jzimolong</dc:creator>
      <dc:date>2013-10-24T16:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through straight table charts and export to QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-straight-table-charts-and-export-to-QVDs/m-p/521155#M194730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only tables that you create in the script can be exported to qvd's. For chart objects you need a macro. See for example this blog post: &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>Thu, 24 Oct 2013 16:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-straight-table-charts-and-export-to-QVDs/m-p/521155#M194730</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-24T16:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through straight table charts and export to QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-straight-table-charts-and-export-to-QVDs/m-p/521156#M194731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; I now have a button that sits on top of the CHART object, and when I click it, the contents of the chart are saved to a QVD, by executing the following macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub ExpQVD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QVDFile = "C:\Report.qvd"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set obj = ActiveDocument.GetSheetObject("CH17")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj.ExportEx QVDFile, 4&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;&lt;/P&gt;&lt;P&gt;Would be nice to have a loop of all charts, where I could export them each in one single process, instead of having to hard code the file names, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will take a look at the link you provided and see what I can get from that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 17:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-straight-table-charts-and-export-to-QVDs/m-p/521156#M194731</guid>
      <dc:creator>jzimolong</dc:creator>
      <dc:date>2013-10-24T17:28:22Z</dc:date>
    </item>
  </channel>
</rss>

