<?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: Qvw file data exporting to excel via Macro creating problem. in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/Qvw-file-data-exporting-to-excel-via-Macro-creating-problem/m-p/2428592#M3298</link>
    <description>&lt;P&gt;Instead of ExportBiff you may try ExportEx with 6 or a higher number for the parameter for the export file-format. In my APIGuide related to QV 11 it's not documented but I assume this option should be available. By using ServerSideExportEx it's also not documented but it worked definitely:&lt;/P&gt;
&lt;P&gt;set tb = ActiveDocument.GetSheetObject("CH01")&lt;BR /&gt;tb.ServerSideExportEx "C:\test.&lt;STRONG&gt;xlsx&lt;/STRONG&gt;" , ";" , &lt;STRONG&gt;6&lt;/STRONG&gt; '0=HTML, 1=Text, 2=Bitmap, 3=XML, 4=QVD, 5=BIFF&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2024 07:31:57 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2024-03-08T07:31:57Z</dc:date>
    <item>
      <title>Qvw file data exporting to excel via Macro creating problem.</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Qvw-file-data-exporting-to-excel-via-Macro-creating-problem/m-p/2427482#M3267</link>
      <description>&lt;P&gt;Dear All, I am new with Qlik view &amp;amp; don't know about much of QlikView automation.&lt;/P&gt;
&lt;P&gt;I found one article where we can export the data from qvw file to xlsx format with the help of post reload macro, i tried the same macro and getting correct data in excel till not making other copy/paste job on my local system, once we copy any other text from my system then the same qvw file generating last copied text in excel file.&lt;/P&gt;
&lt;P&gt;Request you to all, please support me to make this automation successful, please refer the attached Macros, before and after exported excel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Macros --&lt;/P&gt;
&lt;P&gt;sub Export&lt;BR /&gt;Set objExcel = CreateObject("Excel.Application")&lt;BR /&gt;objExcel.Visible = False&lt;BR /&gt;objExcel.DisplayAlerts = True&lt;BR /&gt;Set xlDoc = objExcel.Workbooks.Add&lt;BR /&gt;Set xlSheet = xlDoc.Worksheets("Sheet1")&lt;BR /&gt;set obj = ActiveDocument.GetSheetObject("CH03")&lt;BR /&gt;xlDoc.WorkSheets("Sheet1").Range("A:I").EntireColumn.NumberFormat = "@"&lt;BR /&gt;obj.CopyTextToClipboard&lt;BR /&gt;objExcel.Range("A2").PasteSpecial&lt;BR /&gt;xlDoc.SaveAs "D:\Master_Data\Data\Master Data.xlsx"&lt;BR /&gt;xlDoc.Close&lt;BR /&gt;end sub&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 04:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Qvw-file-data-exporting-to-excel-via-Macro-creating-problem/m-p/2427482#M3267</guid>
      <dc:creator>rruthan</dc:creator>
      <dc:date>2024-03-06T04:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Qvw file data exporting to excel via Macro creating problem.</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Qvw-file-data-exporting-to-excel-via-Macro-creating-problem/m-p/2428194#M3285</link>
      <description>&lt;P&gt;Using the clipboard worked mostly fine if these actions are directly performed. In any automated scenarios it has some risks because the clipboard is a system service in which always the last call wins.&lt;/P&gt;
&lt;P&gt;More stable are solutions which export the data, for example like:&lt;/P&gt;
&lt;P&gt;set obj = ActiveDocument.GetSheetObject("CH01")&lt;BR /&gt;obj.ExportBiff "C:\test.xls"&lt;/P&gt;
&lt;P&gt;More background and examples could you find within the APIGuide.qvw within your install folder of QlikView.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 10:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Qvw-file-data-exporting-to-excel-via-Macro-creating-problem/m-p/2428194#M3285</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-03-07T10:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Qvw file data exporting to excel via Macro creating problem.</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Qvw-file-data-exporting-to-excel-via-Macro-creating-problem/m-p/2428541#M3297</link>
      <description>&lt;P&gt;Hi Marcus, thank you for your reply, &amp;amp; really this is very helpful for me.&lt;/P&gt;
&lt;P&gt;Just one more question in that, can we export data in .xlsx format instead of .xls, because my data is having more than 1.60 lakhs rows.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 04:26:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Qvw-file-data-exporting-to-excel-via-Macro-creating-problem/m-p/2428541#M3297</guid>
      <dc:creator>rruthan</dc:creator>
      <dc:date>2024-03-08T04:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Qvw file data exporting to excel via Macro creating problem.</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Qvw-file-data-exporting-to-excel-via-Macro-creating-problem/m-p/2428592#M3298</link>
      <description>&lt;P&gt;Instead of ExportBiff you may try ExportEx with 6 or a higher number for the parameter for the export file-format. In my APIGuide related to QV 11 it's not documented but I assume this option should be available. By using ServerSideExportEx it's also not documented but it worked definitely:&lt;/P&gt;
&lt;P&gt;set tb = ActiveDocument.GetSheetObject("CH01")&lt;BR /&gt;tb.ServerSideExportEx "C:\test.&lt;STRONG&gt;xlsx&lt;/STRONG&gt;" , ";" , &lt;STRONG&gt;6&lt;/STRONG&gt; '0=HTML, 1=Text, 2=Bitmap, 3=XML, 4=QVD, 5=BIFF&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 07:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Qvw-file-data-exporting-to-excel-via-Macro-creating-problem/m-p/2428592#M3298</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-03-08T07:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Qvw file data exporting to excel via Macro creating problem.</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Qvw-file-data-exporting-to-excel-via-Macro-creating-problem/m-p/2428643#M3300</link>
      <description>&lt;P&gt;Wow..!!&lt;/P&gt;
&lt;P&gt;you are genius, thank you for your wonderful reply because this resolved my problem, which i was facing since long time. Once Again thank you for your support.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 09:14:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Qvw-file-data-exporting-to-excel-via-Macro-creating-problem/m-p/2428643#M3300</guid>
      <dc:creator>rruthan</dc:creator>
      <dc:date>2024-03-08T09:14:18Z</dc:date>
    </item>
  </channel>
</rss>

