<?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: Store table data loaded in script into .xls/.xlsx in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Store-table-data-loaded-in-script-into-xls-xlsx/m-p/1399676#M424487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;A href="https://community.qlik.com/qlik-users/2286"&gt;rwunderlich&lt;/A&gt;‌ for you reply, will work on the approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Punit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Nov 2017 09:02:42 GMT</pubDate>
    <dc:creator>punitpopli</dc:creator>
    <dc:date>2017-11-16T09:02:42Z</dc:date>
    <item>
      <title>Store table data loaded in script into .xls/.xlsx</title>
      <link>https://community.qlik.com/t5/QlikView/Store-table-data-loaded-in-script-into-xls-xlsx/m-p/1399673#M424484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-family: 'courier new', courier;"&gt;Hi Experts,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #000080;"&gt;May I know if we can store the table loaded in QliKView script into .xls or .xlsx file?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #000080;"&gt;Have gone through few posts, but didnt find the solution for the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #000080;"&gt;Can anyone please help me in here?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #000080;"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #000080;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-family: 'courier new', courier;"&gt;Punit&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 02:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-table-data-loaded-in-script-into-xls-xlsx/m-p/1399673#M424484</guid>
      <dc:creator>punitpopli</dc:creator>
      <dc:date>2017-11-16T02:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Store table data loaded in script into .xls/.xlsx</title>
      <link>https://community.qlik.com/t5/QlikView/Store-table-data-loaded-in-script-into-xls-xlsx/m-p/1399674#M424485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 8pt; font-family: 'courier new', courier;"&gt;I think we can use this macro,but need to know if we can get tableName instead of ObjectID.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 8pt; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 8pt; font-family: 'courier new', courier;"&gt;Sub BasicExportToExcel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: #000080; font-family: 'courier new', courier;"&gt;DIM ExcelApplication, ExcelWorkbook&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: #000080; font-family: 'courier new', courier;"&gt;SET ExcelApplication = CREATEOBJECT("Excel.Application")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: #000080; font-family: 'courier new', courier;"&gt;SET ExcelWorkbook = ExcelApplication.Workbooks.Add&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: #000080; font-family: 'courier new', courier;"&gt;ActiveDocument.&lt;STRONG&gt;GetSheetObject&lt;/STRONG&gt;("TB01").CopyTableToClipBoard TRUE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: #000080; font-family: 'courier new', courier;"&gt;ExcelWorkbook.Worksheets(1).Paste&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: #000080; font-family: 'courier new', courier;"&gt;ExcelApplication.DisplayAlerts = FALSE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: #000080; font-family: 'courier new', courier;"&gt;ExcelWorkbook.SaveAs "C:\BuffaloBI - Post Content\Qlikview\Export Excel\test.xls", 56&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: #000080; font-family: 'courier new', courier;"&gt;ExcelApplication.Quit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: #000080; font-family: 'courier new', courier;"&gt;MsgBox "Export Complete"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 8pt; font-family: 'courier new', courier;"&gt;End Sub&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-family: 'courier new', courier;"&gt;If we can get table Name then the Macro can be used for exporting the data to required format from the script.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 02:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-table-data-loaded-in-script-into-xls-xlsx/m-p/1399674#M424485</guid>
      <dc:creator>punitpopli</dc:creator>
      <dc:date>2017-11-16T02:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Store table data loaded in script into .xls/.xlsx</title>
      <link>https://community.qlik.com/t5/QlikView/Store-table-data-loaded-in-script-into-xls-xlsx/m-p/1399675#M424486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, this macro would not work from script. The ActiveDocument handle is not available from script.&amp;nbsp;&amp;nbsp; The only idea I can think of is to store it in csv format (txt) and call some batch converter on the file. Google "csv to excel command line" and you'll see lot's of options ranging from free to low cost. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 04:03:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-table-data-loaded-in-script-into-xls-xlsx/m-p/1399675#M424486</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-11-16T04:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Store table data loaded in script into .xls/.xlsx</title>
      <link>https://community.qlik.com/t5/QlikView/Store-table-data-loaded-in-script-into-xls-xlsx/m-p/1399676#M424487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;A href="https://community.qlik.com/qlik-users/2286"&gt;rwunderlich&lt;/A&gt;‌ for you reply, will work on the approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Punit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 09:02:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-table-data-loaded-in-script-into-xls-xlsx/m-p/1399676#M424487</guid>
      <dc:creator>punitpopli</dc:creator>
      <dc:date>2017-11-16T09:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Store table data loaded in script into .xls/.xlsx</title>
      <link>https://community.qlik.com/t5/QlikView/Store-table-data-loaded-in-script-into-xls-xlsx/m-p/1399677#M424488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set extension of your CSV file to .xls and Excel should open it. SAP used this advanced technology for export &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 14:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-table-data-loaded-in-script-into-xls-xlsx/m-p/1399677#M424488</guid>
      <dc:creator>tomasz_tru</dc:creator>
      <dc:date>2017-11-16T14:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Store table data loaded in script into .xls/.xlsx</title>
      <link>https://community.qlik.com/t5/QlikView/Store-table-data-loaded-in-script-into-xls-xlsx/m-p/1399678#M424489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, will work on the proposed solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 09:14:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-table-data-loaded-in-script-into-xls-xlsx/m-p/1399678#M424489</guid>
      <dc:creator>punitpopli</dc:creator>
      <dc:date>2017-11-22T09:14:08Z</dc:date>
    </item>
  </channel>
</rss>

