<?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: Export Table to Excel File in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-Table-to-Excel-File/m-p/843269#M993358</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 sometimes use Easy Morph application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jul 2015 16:30:27 GMT</pubDate>
    <dc:creator>mkas0001</dc:creator>
    <dc:date>2015-07-09T16:30:27Z</dc:date>
    <item>
      <title>Export Table to Excel File</title>
      <link>https://community.qlik.com/t5/QlikView/Export-Table-to-Excel-File/m-p/843268#M993357</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 have a table on qlikview and i want to export it to an excel file using a macro (or any other way if available). I want to input the name of the excel file and let it save without having qlikview opening the excel file and asking me to save.&lt;/P&gt;&lt;P&gt;Is there any way to do so?&lt;/P&gt;&lt;P&gt;I have looked around through the community but non of the proposed solutions worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank youu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found a solution and this is what I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION CallExport()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ExcelExport( "TB01" )&lt;/P&gt;&lt;P&gt;END FUNCTION&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;'This is the export function&lt;/P&gt;&lt;P&gt;FUNCTION ExcelExport(objID)&lt;/P&gt;&lt;P&gt;'obj gets the table from qlikview&lt;/P&gt;&lt;P&gt;&amp;nbsp; set obj = ActiveDocument.GetSheetObject( objID )&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'get the number of columns&lt;/P&gt;&lt;P&gt;&amp;nbsp; w = obj.GetColumnCount&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'get the number of rows&lt;/P&gt;&lt;P&gt;&amp;nbsp; h= obj.GetRowCount&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'set the file path of the document you want to write in&lt;/P&gt;&lt;P&gt;&amp;nbsp; filePath = "..\Desktop\sourcePort.xlsx" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'create a new excel application to write in&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set objExcel = CreateObject("Excel.Application")&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'open the document in the application&lt;/P&gt;&lt;P&gt;&amp;nbsp; objExcel.Workbooks.Open(filePath)&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'select the fields to write in&lt;/P&gt;&lt;P&gt;&amp;nbsp; objExcel.Worksheets(1).select()&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'clear all the sheet to remove old data&lt;/P&gt;&lt;P&gt;&amp;nbsp; objExcel.Worksheets(1).Cells.Clear&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'set it as a visible document&lt;/P&gt;&lt;P&gt;&amp;nbsp; objExcel.Visible = True&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'choose the boundaries of the data of qlikview table&lt;/P&gt;&lt;P&gt;&amp;nbsp; set CellMatrix = obj.GetCells2(0,0,w,h)&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Below you start copying one cell at a time, iteratively by row and column&lt;/P&gt;&lt;P&gt;&amp;nbsp; column = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; for cc=0 to w-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; objExcel.Cells(1,column).Value = CellMatrix(0)(cc).Text&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; objExcel.Cells(1,column).EntireRow.Font.Bold = True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; column = column +1&lt;/P&gt;&lt;P&gt;&amp;nbsp; next&lt;/P&gt;&lt;P&gt;&amp;nbsp; c = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; r =2&lt;/P&gt;&lt;P&gt;&amp;nbsp; for RowIter=1 to h-1 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for ColIter=0 to w-1 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objExcel.Cells(r,c).Value = CellMatrix(RowIter)(ColIter).Text&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c = c +1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; r = r+1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; c = 1&lt;/P&gt;&lt;P&gt; next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 'save the sheet onto the previous data&lt;/P&gt;&lt;P&gt; objExcel.Workbooks(1).Save&lt;/P&gt;&lt;P&gt; 'close the excel application&lt;/P&gt;&lt;P&gt; objExcel.Workbooks(1).Close &lt;/P&gt;&lt;P&gt;END FUNCTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Phil Asmar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 15:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-Table-to-Excel-File/m-p/843268#M993357</guid>
      <dc:creator>phil_asmar</dc:creator>
      <dc:date>2015-07-09T15:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Export Table to Excel File</title>
      <link>https://community.qlik.com/t5/QlikView/Export-Table-to-Excel-File/m-p/843269#M993358</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 sometimes use Easy Morph application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-Table-to-Excel-File/m-p/843269#M993358</guid>
      <dc:creator>mkas0001</dc:creator>
      <dc:date>2015-07-09T16:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Export Table to Excel File</title>
      <link>https://community.qlik.com/t5/QlikView/Export-Table-to-Excel-File/m-p/843270#M993359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Maybe something like this (no macro, variable vFileName and button with export to csv) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;IMG alt="Button.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92425_Button.png" style="height: 280px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 17:06:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-Table-to-Excel-File/m-p/843270#M993359</guid>
      <dc:creator>mkas0001</dc:creator>
      <dc:date>2015-07-09T17:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Export Table to Excel File</title>
      <link>https://community.qlik.com/t5/QlikView/Export-Table-to-Excel-File/m-p/843271#M993360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of Macro, Qlikview recently introduced Nprinting tool which has lot of power in it. It can export any piece of information from qlikview and store it in excel or pdf or even send to users in the form of email on scheduled basis. the license cost is also cheaper.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 17:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-Table-to-Excel-File/m-p/843271#M993360</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-09T17:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Export Table to Excel File</title>
      <link>https://community.qlik.com/t5/QlikView/Export-Table-to-Excel-File/m-p/843272#M993361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vinay, you are right &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;I really wonder about buying NPrinting&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 18:03:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-Table-to-Excel-File/m-p/843272#M993361</guid>
      <dc:creator>mkas0001</dc:creator>
      <dc:date>2015-07-09T18:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Export Table to Excel File</title>
      <link>https://community.qlik.com/t5/QlikView/Export-Table-to-Excel-File/m-p/843273#M993362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah we had similar kind of requirement in our environment. So we initially worked with trial version. It is kind of the right tool for this job then we immediately bought this. I think Nprinting brings a lot to the table buddy &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 18:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-Table-to-Excel-File/m-p/843273#M993362</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-09T18:07:09Z</dc:date>
    </item>
  </channel>
</rss>

