<?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: Macro Export to Excel 2007 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-Export-to-Excel-2007/m-p/383635#M143178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="21340" class="jive-image" alt="Capture.JPG" src="https://community.qlik.com/legacyfs/online/21340_Capture.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2012 19:35:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-04T19:35:38Z</dc:date>
    <item>
      <title>Macro Export to Excel 2007</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Export-to-Excel-2007/m-p/383633#M143176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a simple macro to export a chart to Excel in xlsx format. The macro works and creates the file but when I try to open the file in Excel I get a message "Excel cannot open the file 'Temp.xlsx' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My macro code is as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;sub ExcelFile&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; set obj = ActiveDocument.GetSheetObject("CH02")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; obj.Export "C:\Temp.xlsx",","&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;end sub&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read through other forum posts and tried various functions and options but without success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kevin Long&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 00:52:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Export-to-Excel-2007/m-p/383633#M143176</guid>
      <dc:creator />
      <dc:date>2012-09-04T00:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Export to Excel 2007</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Export-to-Excel-2007/m-p/383634#M143177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas or feedback on this would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 18:37:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Export-to-Excel-2007/m-p/383634#M143177</guid>
      <dc:creator />
      <dc:date>2012-09-04T18:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Export to Excel 2007</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Export-to-Excel-2007/m-p/383635#M143178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="21340" class="jive-image" alt="Capture.JPG" src="https://community.qlik.com/legacyfs/online/21340_Capture.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 19:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Export-to-Excel-2007/m-p/383635#M143178</guid>
      <dc:creator />
      <dc:date>2012-09-04T19:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Export to Excel 2007</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Export-to-Excel-2007/m-p/383636#M143179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Kevin.&lt;/P&gt;&lt;P&gt;Have you tried exporting as &lt;SPAN style="color: #0000ff; font-family: Arial; background-color: #ffffff;"&gt;C:\Temp.xls&lt;/SPAN&gt; ? I had the same problem and it worked fine with .xls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 11:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Export-to-Excel-2007/m-p/383636#M143179</guid>
      <dc:creator>ngulliver</dc:creator>
      <dc:date>2012-11-15T11:39:12Z</dc:date>
    </item>
  </channel>
</rss>

