<?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 on reload in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-to-excel-on-reload/m-p/239343#M89981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;use below logic by steps wise:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sub Export&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; set obj1 = ActiveDocument.GetSheetObject("TB01")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; obj1.Export "D:\Yourfilename.xls",4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; msgbox("Done")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; end sub &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto Document Properties---&amp;gt;Trigger----&amp;gt;OnPostReload---&amp;gt;Add Action---&amp;gt;Add---&amp;gt; External---&amp;gt;Run Macro---&amp;gt; give macro name(Export)&amp;nbsp;&amp;nbsp; After that click on Edit-model and past your logic and ok ---&amp;gt; apply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after reloading the application then automatically exporting to excel, Can you check your path there excel will appeared..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Munna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2015 10:55:10 GMT</pubDate>
    <dc:creator>Srinivas</dc:creator>
    <dc:date>2015-07-02T10:55:10Z</dc:date>
    <item>
      <title>Export to excel on reload</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-on-reload/m-p/239341#M89979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr" style="text-align: left"&gt;I have used the document settings to run rhis macro after reload.&lt;/P&gt;&lt;P dir="ltr" style="text-align: left"&gt;When I test it in the edit module window it runs OK and creates the export file. However, if I reload the document it reloads and then opens the module window and stops at the Set obj line.&lt;/P&gt;&lt;P dir="ltr" style="text-align: left"&gt;Why? Does qanyone know how I fix this problem?&lt;/P&gt;&lt;P dir="ltr" style="text-align: left"&gt;Sub ExporttoExcel()&lt;/P&gt;&lt;P dir="ltr" style="text-align: left"&gt;Set obj =ActiveDocument.GetSheetObject("TB01")&lt;/P&gt;&lt;P dir="ltr" style="text-align: left"&gt;Obj.ExportBiff "C:\temp\Testajr.xls"&lt;/P&gt;&lt;P dir="ltr" style="text-align: left"&gt;End sub&lt;/P&gt;&lt;P dir="ltr" style="text-align: left"&gt;&lt;/P&gt;&lt;P dir="ltr" style="text-align: left"&gt;Regards&lt;/P&gt;&lt;P dir="ltr" style="text-align: left"&gt;&lt;/P&gt;&lt;P dir="ltr" style="text-align: left"&gt;Adrian&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 13:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-on-reload/m-p/239341#M89979</guid>
      <dc:creator />
      <dc:date>2010-02-16T13:51:43Z</dc:date>
    </item>
    <item>
      <title>Export to excel on reload</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-on-reload/m-p/239342#M89980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems to work with OnOpen rather than post load.&lt;/P&gt;&lt;P&gt;Not sure why&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 15:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-on-reload/m-p/239342#M89980</guid>
      <dc:creator />
      <dc:date>2010-02-16T15:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel on reload</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-on-reload/m-p/239343#M89981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;use below logic by steps wise:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sub Export&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; set obj1 = ActiveDocument.GetSheetObject("TB01")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; obj1.Export "D:\Yourfilename.xls",4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; msgbox("Done")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; end sub &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto Document Properties---&amp;gt;Trigger----&amp;gt;OnPostReload---&amp;gt;Add Action---&amp;gt;Add---&amp;gt; External---&amp;gt;Run Macro---&amp;gt; give macro name(Export)&amp;nbsp;&amp;nbsp; After that click on Edit-model and past your logic and ok ---&amp;gt; apply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after reloading the application then automatically exporting to excel, Can you check your path there excel will appeared..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Munna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 10:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-on-reload/m-p/239343#M89981</guid>
      <dc:creator>Srinivas</dc:creator>
      <dc:date>2015-07-02T10:55:10Z</dc:date>
    </item>
  </channel>
</rss>

