<?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 for Export Table data to excel with desired file name in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416155#M819797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Devarasu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but my requirement is to define the excel file name, not a sheet name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;When we export data to excel&amp;nbsp; it carries the name of the Object ID which QlikView will assign as default . I want to change that name to the desired file name.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Aug 2017 09:53:40 GMT</pubDate>
    <dc:creator>abirami_palanis</dc:creator>
    <dc:date>2017-08-17T09:53:40Z</dc:date>
    <item>
      <title>macro for Export Table data to excel with desired file name</title>
      <link>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416153#M819795</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I am looking for a macro to export the table data to Excel&amp;nbsp; with a&amp;nbsp; desired file name. &lt;SPAN style="font-size: 13.3333px;"&gt;I am using QV 12.0 edition. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Could someone help me out? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thanks in Advance.. &lt;BR /&gt;&lt;/SPAN&gt;&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-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416153#M819795</guid>
      <dc:creator>abirami_palanis</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: macro for Export Table data to excel with desired file name</title>
      <link>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416154#M819796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this Code&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;enable this setting in your app (press ctrl+M)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="173673" alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/173673_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 08:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416154#M819796</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-08-17T08:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: macro for Export Table data to excel with desired file name</title>
      <link>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416155#M819797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Devarasu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but my requirement is to define the excel file name, not a sheet name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;When we export data to excel&amp;nbsp; it carries the name of the Object ID which QlikView will assign as default . I want to change that name to the desired file name.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 09:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416155#M819797</guid>
      <dc:creator>abirami_palanis</dc:creator>
      <dc:date>2017-08-17T09:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: macro for Export Table data to excel with desired file name</title>
      <link>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416156#M819799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15029648601608734" jivemacro_uid="_15029648601608734"&gt;
&lt;P&gt;sub ExcelExport&lt;/P&gt;
&lt;P&gt;Set objExcel = CreateObject("Excel.Application")&lt;/P&gt;
&lt;P&gt;objExcel.Visible = False&lt;/P&gt;
&lt;P&gt;objExcel.DisplayAlerts = True&lt;/P&gt;
&lt;P&gt;Set xlDoc = objExcel.Workbooks.Add&lt;/P&gt;
&lt;P&gt;set obj = ActiveDocument.GetSheetObject("CH01")&lt;/P&gt;
&lt;P&gt;obj.CopyTextToClipboard&lt;/P&gt;
&lt;P&gt;objExcel.Range("A1").PasteSpecial&lt;/P&gt;
&lt;P&gt;xlDoc.SaveAs "C:\Users\Admin\Desktop\Test.xlsx"&lt;/P&gt;
&lt;P&gt;xlDoc.Close&lt;/P&gt;
&lt;P&gt;end sub&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just adapt the Object-ID, Path and Outputfilename according your environment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 10:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416156#M819799</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2017-08-17T10:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: macro for Export Table data to excel with desired file name</title>
      <link>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416157#M819800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frank,&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;I am getting error in code.&amp;nbsp; please see the screenshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code will help to save a document in a particular path with a desired name. but my requirement is that once we export , the excel should open automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/173679_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 10:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416157#M819800</guid>
      <dc:creator>abirami_palanis</dc:creator>
      <dc:date>2017-08-17T10:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: macro for Export Table data to excel with desired file name</title>
      <link>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416158#M819801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;adapt the object-ID ("CH01") to the Object-ID in your qvw which you want to export.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to see the Excel File while exporting just adapt this line:&lt;/P&gt;&lt;P&gt;obj.Excel.Visible = &lt;STRONG&gt;True &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and erase this line:&lt;/P&gt;&lt;P&gt;xlDoc.Close&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 11:02:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416158#M819801</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2017-08-17T11:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: macro for Export Table data to excel with desired file name</title>
      <link>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416159#M819802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again i am getting error in code. Please see below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Excel.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/173680_Excel.PNG" style="height: 267px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a specified location , the file is getting&amp;nbsp; saved. And also in location it is showing that the file is opened. But actually i am not seeing any excel file is opened in desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/173685_Capture.PNG" style="height: 141px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 11:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416159#M819802</guid>
      <dc:creator>abirami_palanis</dc:creator>
      <dc:date>2017-08-17T11:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: macro for Export Table data to excel with desired file name</title>
      <link>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416160#M819803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in third line you have:&lt;/P&gt;&lt;P&gt;objExcel.Visible = False&lt;/P&gt;&lt;P&gt;just replace false with true and delete line 10&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 11:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416160#M819803</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2017-08-17T11:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: macro for Export Table data to excel with desired file name</title>
      <link>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416161#M819804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Frank. Working fine.. &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, 17 Aug 2017 11:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-for-Export-Table-data-to-excel-with-desired-file-name/m-p/1416161#M819804</guid>
      <dc:creator>abirami_palanis</dc:creator>
      <dc:date>2017-08-17T11:56:36Z</dc:date>
    </item>
  </channel>
</rss>

