<?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 to Excel in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321168#M1190138</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;&lt;/P&gt;&lt;P&gt;I used this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;usedRows=curSheet.UsedRange.Rows.Count &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;This fetches the count of used rows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I have put the entire code here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/message/319742#319742" title="http://community.qlik.com/message/319742#319742"&gt;http://community.qlik.com/message/319742#319742&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Mar 2013 11:58:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-08T11:58:24Z</dc:date>
    <item>
      <title>Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321150#M1190120</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;&lt;/P&gt;&lt;P&gt;I am exporting straight table data to excel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the dates entered in input box, data is displayed in straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to export the dates also?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 09:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321150#M1190120</guid>
      <dc:creator />
      <dc:date>2011-08-01T09:18:22Z</dc:date>
    </item>
    <item>
      <title>Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321151#M1190121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add that Date Field as the First Column of the Straight Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 09:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321151#M1190121</guid>
      <dc:creator>rahulgupta</dc:creator>
      <dc:date>2011-08-01T09:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321152#M1190122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Hi,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;As Rahul suggested, if you don't have date field in your straight table then add the date field to you table and export.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Your description on problem is not so clear, above solution is purely on guess.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;It would be nice if you could give us more details on you requirement.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;- Sridhar&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 09:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321152#M1190122</guid>
      <dc:creator />
      <dc:date>2011-08-01T09:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321153#M1190123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;Hi ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the replies..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an input box for entering start date and end date and displaying records in staraight table &lt;/P&gt;&lt;P&gt;between the date ranges(inputted dates).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vStartDate and vEndDate are the input box variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using below expression for displaying the records.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a005a; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;only({&amp;lt;[bkd-dt]={"&amp;gt;=$(vStartDate)&amp;lt;=$(vEndDate)"}&amp;gt;}[bkgno])&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is,when i export the straghit table data to excel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to display the date ranges inputted.That is, vStartDate and vEndDate values.&lt;/P&gt;&lt;P&gt;No need to display the date ranges in&amp;nbsp; table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 10:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321153#M1190123</guid>
      <dc:creator />
      <dc:date>2011-08-01T10:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321154#M1190124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can label your expressions (or at least one of them) with the date range, using this in the label part in the chart properties:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;='Sales from ' &amp;amp; $(vStartDate) &amp;amp; ' to ' &amp;amp; $(vEndDate)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure the $() returns the date in the required format, otherwise you can use Date(vStartDate) instead. Or if you are using a pivot table, set something like the above in the Total label in the Presentation tab in the chart properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 10:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321154#M1190124</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-08-01T10:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321155#M1190125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a&amp;nbsp; helpful solution.But,I have 40 columns in my straight table.So if i could include date range info as header or footer display(After excel exporting)it would be more good.Could you please let me know if any possible way to incorporate this modification?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the option Settings---&amp;gt;User Preferences----&amp;gt;Export---&amp;gt;On BIFF Exports,to include the selection criteria.Is there any way to include the input box value along with this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 05:11:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321155#M1190125</guid>
      <dc:creator />
      <dc:date>2011-08-02T05:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321156#M1190126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's not as far as I know. But you can create a macro to export your chart with the caption and save it to a file. Ir requires more code, but it's worth trying&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sub ExcelExpwCaption&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Set the path where the excel will be saved &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filePath = "C:\Test.xls"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Create the Excel spreadsheet &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set excelFile = CreateObject("Excel.Application")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; excelFile.Visible = true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Create the WorkBook&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set curWorkBook = excelFile.WorkBooks.Add&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Create the Sheet&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set curSheet = curWorkBook.WorkSheets(1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Get the chart we want to export&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set tableToExport = ActiveDocument.GetSheetObject("CH01")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set chartProperties = tableToExport.GetProperties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tableToExport.CopyTableToClipboard true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Get the caption&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartCaption = tableToExport.GetCaption.Name.v&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'MsgBox chartCaption&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Set the first cell with the caption&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curSheet.Range("A1") = chartCaption&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Paste the rest of the chart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curSheet.Paste curSheet.Range("A2")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; excelFile.Visible = true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Save the file and quit excel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curWorkBook.SaveAs filePath&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curWorkBook.Close&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; excelFile.Quit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Cleanup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set curWorkBook = nothing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set excelFile = nothing&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2011 08:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321156#M1190126</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-08-03T08:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321157#M1190127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting error like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveX component can't create object: 'Excel.Application' .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;There is no Microsoft Excel installed in my machine.Only Open Office is there. Is it because of that?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;Soumya&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;/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;/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;/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;/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;/P&gt;&lt;P&gt;&lt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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;/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 11:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321157#M1190127</guid>
      <dc:creator />
      <dc:date>2011-08-04T11:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321158#M1190128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you need to have Excel in order to make the macro work. I don't know if there are any ActiveX controls to create OpenOffice Calc spreadsheets, and if they do exist, what is their API. I'd try to install Excel if that is the format you want for your documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may change the macro so it saves on a text file comma separated that will be easily imported into Calc, where the first line of that file has the caption and from the second onwards, all your data. However, quotes and other special characters may cause issues when importing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small active_link" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Actually, saving to CSV instead of XLS should be as easy as changing this line in the macro above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;filePath = "C:\Test.xls"&lt;/CODE&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;filePath = "C:\Test.csv"&lt;/CODE&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although you need to have Excel installed in order to create the workbook.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 11:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321158#M1190128</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-08-04T11:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321159#M1190129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;Thank you very much...The problem has been solved..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know one more thing? Is there any way to split up the caption? Now My captiion looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Daily Summary Report&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From&amp;nbsp; 1/1/2007&amp;nbsp; To&amp;nbsp; 8/5/2011&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product Type : HTL"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I could include "&lt;STRONG&gt;Product Type : HTL&lt;/STRONG&gt;" in the second cell,it would be better..Please suggest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Soumya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 06:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321159#M1190129</guid>
      <dc:creator />
      <dc:date>2011-08-05T06:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321160#M1190130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &lt;A href="http://w3schools.com/vbscript/vbscript_ref_functions.asp#string"&gt;VBScript string functions&lt;/A&gt; to split the caption according to a fixed length, for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Get the caption&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartCaption1 = Left(tableToExport.GetCaption.Name.v, 10)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartCaption2 = Right(tableToExport.GetCaption.Name.v, 10)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Set the first cell with the caption&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curSheet.Range("A1") = chartCaption1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curSheet.Range("B1") = chartCaption2&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I set two chartCaption variables, the first of which with the first 10 characters starting from left, and the second the 10 starting from right. The I copy these values in the first cell (top left A1) and the second (top, left +1, B1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adapt this to your captions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.grupocomex.com"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 07:35:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321160#M1190130</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-08-05T07:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321161#M1190131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Miguel..Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 11:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321161#M1190131</guid>
      <dc:creator />
      <dc:date>2011-08-05T11:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321162#M1190132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Miguel,&lt;/P&gt;&lt;P&gt;Please let me know how can I change the heading properties in the excel when I export through&amp;nbsp; macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know vb script.I have tried something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ChartProperties.BlockCaptionFont.Bold = true..But It didnt work for me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 12:03:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321162#M1190132</guid>
      <dc:creator />
      <dc:date>2011-08-05T12:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321163#M1190133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same issue as well is there any way we can make this work in AJAX mode. Becuase we have more number of user base so we have decided to use AJAX mode. Any help on this will be a great help for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 14:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321163#M1190133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-08T14:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321164#M1190134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same issue as well is there any way we can make this work in AJAX mode. Becuase we have more number of user base so we have decided to use AJAX mode. Any help on this will be a great help for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 14:07:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321164#M1190134</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-08T14:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321165#M1190135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;I have the same issue as well is there any way we can make this work in AJAX mode. Becuase we have more number of user base so we have decided to use AJAX mode. Any help on this will be a great help for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 14:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321165#M1190135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-08T14:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321166#M1190136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;I have the same issue as well is there any way we can make this work in AJAX mode. Becuase we have more number of user base so we have decided to use AJAX mode. Any help on this will be a great help for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 14:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321166#M1190136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-08T14:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321167#M1190137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; tried your macro and it works perfectly.&lt;/P&gt;&lt;P&gt;But, I want to do something more.&lt;/P&gt;&lt;P&gt;I want to paste a second chart after the first one.&lt;/P&gt;&lt;P&gt;So, I used this function to find the next empty cell and paste the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;Range("A" &amp;amp; Rows.Count).End(xlUp).Offset(1).Select&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;curSheet.Paste &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it throws error 'Object Required:Rows'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 14:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321167#M1190137</guid>
      <dc:creator />
      <dc:date>2013-03-07T14:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321168#M1190138</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;&lt;/P&gt;&lt;P&gt;I used this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;usedRows=curSheet.UsedRange.Rows.Count &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;This fetches the count of used rows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I have put the entire code here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/message/319742#319742" title="http://community.qlik.com/message/319742#319742"&gt;http://community.qlik.com/message/319742#319742&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 11:58:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321168#M1190138</guid>
      <dc:creator />
      <dc:date>2013-03-08T11:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321169#M1190139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used your above code and it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what I want to do is to export some charts to excel one below the other:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried following&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;dim a,text,tm&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;a=Array("CH02","CH04","CH06","CH07")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #737373; font-family: Arial; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;for i = 0 to 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;b=a(i)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;i=i+1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;But I am not able to add it accurately in the code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Moreover I want the charts below the previous charts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Where to add &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="color: #ff00ff;"&gt;Range("A" &amp;amp; Rows.Count).End(xlUp).Offset(1).Select&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="color: #ff00ff;"&gt;curSheet.Paste&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="color: #ff00ff;"&gt;Or &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="color: #ff00ff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="color: #ff00ff;"&gt;&lt;SPAN style="color: #ff00ff; font-family: Arial; background-color: #ffffff;"&gt;usedRows=curSheet.UsedRange.Rows.Count&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry all confused. I am trying at my end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for helping out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 09:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel/m-p/321169#M1190139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-18T09:58:20Z</dc:date>
    </item>
  </channel>
</rss>

