<?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 Export to CSV using qlikview macro module, trouble with saveAS in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-to-CSV-using-qlikview-macro-module-trouble-with-saveAS/m-p/763584#M271430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having issue exporting my file to csv using the macro. If i do it on excel it works perfectly, if i copy the code, i get an expected statement error and i am unable to process it, is there any known troubles in this domain ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what i did via the macro :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- create a worksheet getting the objects of my dashbaord,&lt;/P&gt;&lt;P&gt;- create a second worksheet2 where i create lines for my csv file in a single column and i hardcoded the separator for example i have :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text;text;ContentofMyTableCell1;date;text&lt;/P&gt;&lt;P&gt;text;text;ContentofMyTableCell2;date;text&lt;/P&gt;&lt;P&gt;text;text;ContentofMyTable2Cell1;date;text&lt;/P&gt;&lt;P&gt;text;text;ContentofMyTable2Cell2;date;text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i want to save i tried the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;workbook.saveAs (name)&amp;nbsp;&amp;nbsp; ====&amp;gt; that works but produce me a xls&lt;/P&gt;&lt;P&gt;workbook.saveAs(name,xlCSV) ====&amp;gt; Error cannot call a sub in parenthesis&lt;/P&gt;&lt;P&gt;workbook saveAs filename:= name, fileFormat:=xlCSV&amp;nbsp; =====&amp;gt; error expected statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Feb 2015 20:56:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-20T20:56:54Z</dc:date>
    <item>
      <title>Export to CSV using qlikview macro module, trouble with saveAS</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-CSV-using-qlikview-macro-module-trouble-with-saveAS/m-p/763584#M271430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having issue exporting my file to csv using the macro. If i do it on excel it works perfectly, if i copy the code, i get an expected statement error and i am unable to process it, is there any known troubles in this domain ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what i did via the macro :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- create a worksheet getting the objects of my dashbaord,&lt;/P&gt;&lt;P&gt;- create a second worksheet2 where i create lines for my csv file in a single column and i hardcoded the separator for example i have :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text;text;ContentofMyTableCell1;date;text&lt;/P&gt;&lt;P&gt;text;text;ContentofMyTableCell2;date;text&lt;/P&gt;&lt;P&gt;text;text;ContentofMyTable2Cell1;date;text&lt;/P&gt;&lt;P&gt;text;text;ContentofMyTable2Cell2;date;text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i want to save i tried the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;workbook.saveAs (name)&amp;nbsp;&amp;nbsp; ====&amp;gt; that works but produce me a xls&lt;/P&gt;&lt;P&gt;workbook.saveAs(name,xlCSV) ====&amp;gt; Error cannot call a sub in parenthesis&lt;/P&gt;&lt;P&gt;workbook saveAs filename:= name, fileFormat:=xlCSV&amp;nbsp; =====&amp;gt; error expected statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 20:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-CSV-using-qlikview-macro-module-trouble-with-saveAS/m-p/763584#M271430</guid>
      <dc:creator />
      <dc:date>2015-02-20T20:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Export to CSV using qlikview macro module, trouble with saveAS</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-CSV-using-qlikview-macro-module-trouble-with-saveAS/m-p/763585#M271431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you define the constant xlCSV in your code? If not try using the value 6 instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Feb 2015 11:28:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-CSV-using-qlikview-macro-module-trouble-with-saveAS/m-p/763585#M271431</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-02-21T11:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Export to CSV using qlikview macro module, trouble with saveAS</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-CSV-using-qlikview-macro-module-trouble-with-saveAS/m-p/763586#M271432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CSV as file-format had several limitations - one is it supported only one worksheet and this is probably why your error occured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Feb 2015 19:33:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-CSV-using-qlikview-macro-module-trouble-with-saveAS/m-p/763586#M271432</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-02-22T19:33:51Z</dc:date>
    </item>
  </channel>
</rss>

