<?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 to export report to excel preserving the report format and with relative filepath in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-export-report-to-excel-preserving-the-report-format-and/m-p/1330556#M831941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot! its everything i need &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, 22 Jun 2017 02:42:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-22T02:42:47Z</dc:date>
    <item>
      <title>Macro to export report to excel preserving the report format and with relative filepath</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-export-report-to-excel-preserving-the-report-format-and/m-p/1330554#M831939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm using this macro to export my report to excel, however it not really excel but csv then being opened via excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Is there a way to twik this macro to export the report in real excel format? This way, all the report aesthetics and formating will be preserved when it's converted to excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sub ExportExcel&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;set v = ActiveDocument.Variables("vXLS")&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;v.SetContent "1",true&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ActiveDocument.getsheetobject("InternEvalXLSExport").Export "d:\InternshipEvaluation.csv",","&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;v.SetContent "0",true&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, is there a way to make the file path relative?&lt;/P&gt;&lt;P&gt;currently, we are using relative path in all our qlikview files.&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;vFolder_PG_CS ='..\QV_Source_Data\PG\OnTRAC\'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to save and open the converted excel file in the relative filepath above assigned to the variable &lt;SPAN style="font-size: 13.3333px;"&gt;vFolder_PG_CS &lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;Is this possible? &lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-export-report-to-excel-preserving-the-report-format-and/m-p/1330554#M831939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to export report to excel preserving the report format and with relative filepath</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-export-report-to-excel-preserving-the-report-format-and/m-p/1330555#M831940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronald&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this: &lt;A href="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/" title="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/"&gt;http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;maybe you find another solution for your case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope that helps&lt;/P&gt;&lt;P&gt;Beck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 10:49:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-export-report-to-excel-preserving-the-report-format-and/m-p/1330555#M831940</guid>
      <dc:creator>beck_bakytbek</dc:creator>
      <dc:date>2017-06-21T10:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to export report to excel preserving the report format and with relative filepath</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-export-report-to-excel-preserving-the-report-format-and/m-p/1330556#M831941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot! its everything i need &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, 22 Jun 2017 02:42:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-export-report-to-excel-preserving-the-report-format-and/m-p/1330556#M831941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-22T02:42:47Z</dc:date>
    </item>
  </channel>
</rss>

