<?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 VBscript: transpose straight table and export to excel? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/VBscript-transpose-straight-table-and-export-to-excel/m-p/155061#M31443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'To Excel Generate&lt;BR /&gt;set obj = ActiveDocument.GetSheetObject("CH703")&lt;BR /&gt;obj.ExportEx "E:\Qlikview\Prima\PPT\Department_Loadinng.xls",5&lt;BR /&gt;set obj = ActiveDocument.GetSheetObject("CH704")&lt;BR /&gt;obj.ExportEx "E:\Qlikview\Prima\PPT\Top_5_Project.xls",5&lt;BR /&gt;set obj = ActiveDocument.GetSheetObject("CH705")&lt;BR /&gt;obj.ExportEx "E:\Qlikview\Prima\PPT\0HrsProject.xl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Oct 2010 13:54:44 GMT</pubDate>
    <dc:creator>suniljain</dc:creator>
    <dc:date>2010-10-22T13:54:44Z</dc:date>
    <item>
      <title>VBscript: transpose straight table and export to excel?</title>
      <link>https://community.qlik.com/t5/QlikView/VBscript-transpose-straight-table-and-export-to-excel/m-p/155058#M31440</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;I want to automate the export of a straight table to excel. Thus, I wrote a script that exports the straight table to Excel and saves the file. That's no problem.&lt;/P&gt;&lt;P&gt;However, I also want to transpose the table. I see two options:&lt;/P&gt;&lt;P&gt;- transpose with "paste special" in Excel&lt;/P&gt;&lt;P&gt;- transpose the table in QV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first option does not suceed, as Paste Special needs arguments to transpose, and QV gives an error if this VBscript is used.&lt;/P&gt;&lt;P&gt;The second options looks more promising. Inside the script, I transpose the table with TableProperties.Horizontal=true. However, if I copy the transpose cell to the clipboard and paste in Excel, the data is not transposed anymore. I use "tabel.CopyTableToClipboard True".&lt;/P&gt;&lt;P&gt;Can someone help me to export a straight table and have the table transposed in Excel?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 13:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBscript-transpose-straight-table-and-export-to-excel/m-p/155058#M31440</guid>
      <dc:creator>ernstblaauw</dc:creator>
      <dc:date>2010-10-22T13:28:45Z</dc:date>
    </item>
    <item>
      <title>VBscript: transpose straight table and export to excel?</title>
      <link>https://community.qlik.com/t5/QlikView/VBscript-transpose-straight-table-and-export-to-excel/m-p/155059#M31441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;'To Excel Generate&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;obj = ActiveDocument.GetSheetObject("CH703" &lt;P&gt;)&lt;/P&gt;&lt;P&gt;"E:\Qlikview\Prima\PPT\Department_Loadinng.xls"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,5&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;obj = ActiveDocument.GetSheetObject("CH704" &lt;P&gt;)&lt;/P&gt;&lt;P&gt;"E:\Qlikview\Prima\PPT\Top_5_Project.xls"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,5&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;obj = ActiveDocument.GetSheetObject("CH705" &lt;P&gt;)&lt;/P&gt;&lt;P&gt;"E:\Qlikview\Prima\PPT\0HrsProject.xl&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 13:42:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBscript-transpose-straight-table-and-export-to-excel/m-p/155059#M31441</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-10-22T13:42:30Z</dc:date>
    </item>
    <item>
      <title>VBscript: transpose straight table and export to excel?</title>
      <link>https://community.qlik.com/t5/QlikView/VBscript-transpose-straight-table-and-export-to-excel/m-p/155060#M31442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil Jain,&lt;/P&gt;&lt;P&gt;Yhanks for your help. However, I cannot read your post as it seems a part is not shown here. Can you post it again?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Ernst&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 13:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBscript-transpose-straight-table-and-export-to-excel/m-p/155060#M31442</guid>
      <dc:creator>ernstblaauw</dc:creator>
      <dc:date>2010-10-22T13:51:44Z</dc:date>
    </item>
    <item>
      <title>VBscript: transpose straight table and export to excel?</title>
      <link>https://community.qlik.com/t5/QlikView/VBscript-transpose-straight-table-and-export-to-excel/m-p/155061#M31443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'To Excel Generate&lt;BR /&gt;set obj = ActiveDocument.GetSheetObject("CH703")&lt;BR /&gt;obj.ExportEx "E:\Qlikview\Prima\PPT\Department_Loadinng.xls",5&lt;BR /&gt;set obj = ActiveDocument.GetSheetObject("CH704")&lt;BR /&gt;obj.ExportEx "E:\Qlikview\Prima\PPT\Top_5_Project.xls",5&lt;BR /&gt;set obj = ActiveDocument.GetSheetObject("CH705")&lt;BR /&gt;obj.ExportEx "E:\Qlikview\Prima\PPT\0HrsProject.xl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 13:54:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBscript-transpose-straight-table-and-export-to-excel/m-p/155061#M31443</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-10-22T13:54:44Z</dc:date>
    </item>
    <item>
      <title>VBscript: transpose straight table and export to excel?</title>
      <link>https://community.qlik.com/t5/QlikView/VBscript-transpose-straight-table-and-export-to-excel/m-p/155062#M31444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The table (transposed in QV using TableProperties.Horizontal=true) is still un-transposed in Excel, so I guess your ExportEx is not a solution. Do you have another idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 14:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBscript-transpose-straight-table-and-export-to-excel/m-p/155062#M31444</guid>
      <dc:creator>ernstblaauw</dc:creator>
      <dc:date>2010-10-22T14:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: VBscript: transpose straight table and export to excel?</title>
      <link>https://community.qlik.com/t5/QlikView/VBscript-transpose-straight-table-and-export-to-excel/m-p/155063#M31445</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 am also facing&amp;nbsp; the same issue.&lt;/P&gt;&lt;P&gt;Can you please help me with the solution incase you gt it correctly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 08:38:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBscript-transpose-straight-table-and-export-to-excel/m-p/155063#M31445</guid>
      <dc:creator />
      <dc:date>2013-09-03T08:38:56Z</dc:date>
    </item>
  </channel>
</rss>

