<?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 selected data from a List Box to Excel/QVD through Button? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513429#M191838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However noticed one thing.This exact script was not working when I was putting a List box ID. Changed a bit as below:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sub Export&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set obj = ActiveDocument.GetSheetObject("LB07")&lt;BR /&gt;obj.ServerSideExportEx "C:\QlikView\Export.qvd" , ";" , 4 '0=HTML, 1=Text, 2=Bitmap, 3=XML, 4=QVD, 5=BIFF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Also, could you please help me in getting a message box populating 'Exported Successfully' once the export is done? It is for users purpose only.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Nov 2013 07:15:26 GMT</pubDate>
    <dc:creator>dmohanty</dc:creator>
    <dc:date>2013-11-13T07:15:26Z</dc:date>
    <item>
      <title>Export selected data from a List Box to Excel/QVD through Button?</title>
      <link>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513421#M191830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some values selected in a List Box. Now I need to export those selected values to a QVD or an Excel File to a particular location (storage path should be predefined and fixed) with the help of a Button.&lt;/P&gt;&lt;P&gt;Could it be done somehow using Macro or something else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used Export as action, but the QVD/Excel is not storing in my desired saved path. Sometimes shows message that the created file can't be overwritten.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 14:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513421#M191830</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-11-12T14:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Export selected data from a List Box to Excel/QVD through Button?</title>
      <link>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513422#M191831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Button need to work fine on Dashboard on Access Point. Users should not see the path to store the QVD/Excel. It should be predefined while creation of button.&lt;/P&gt;&lt;P&gt;Also, is there any way so that, once the Save/Export is complete a Message box should be populated that 'Saving/Exporting Data is Complete'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 14:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513422#M191831</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-11-12T14:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Export selected data from a List Box to Excel/QVD through Button?</title>
      <link>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513423#M191832</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;adapt this code to your particular case. It is a macro that can be called from your button.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sub Export1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ActiveDocument.ClearAll false&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;pathcorp="F:\"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set corp = ActiveDocument.GetSheetObject("LB01") //Name of your listbox&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;corp.ExportBiff&amp;nbsp; pathcorp &amp;amp; "TEST.xls"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set XLApp = CreateObject("EXCEL.application")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;XLApp.Visible = FALSE&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set XLDoc = XLApp.Workbooks.Add&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;for i=0 to val.Count-1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set MyTable = ActiveDocument.GetSheetObject("LB01")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;path="F:\"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MyTable.ExportBiff&amp;nbsp; path &amp;amp; val.Item(i).Text &amp;amp;".xls"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;next&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set XLApp = Nothing&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set Table = Nothing&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'Msgbox "Exported Sucessfully"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;end sub&lt;/EM&gt;&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>Tue, 12 Nov 2013 15:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513423#M191832</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-11-12T15:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Export selected data from a List Box to Excel/QVD through Button?</title>
      <link>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513424#M191833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As for the QVD - it can be "exported" only by reload, using "store":&lt;BR /&gt;Store &amp;lt;table name&amp;gt; Into QVDName.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 15:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513424#M191833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-12T15:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Export selected data from a List Box to Excel/QVD through Button?</title>
      <link>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513425#M191834</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;Crea la tabla que quieras exportar y selecciona la carpeta destino, genera un botón y en acciones llama la macro.&lt;BR /&gt;Si lo pondras en el access point, recuerda que unicamente las macros funcionan con plugin.&lt;/P&gt;&lt;P&gt;----------&lt;BR /&gt;Create the table you want to export and select the target folder, creates a button and call the macro in the actions.&lt;BR /&gt;If you put in the access point, remember that macros work only with plugin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub ExportaQVD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set obj = ActiveDocument.GetSheetObject("CH05")&lt;/P&gt;&lt;P&gt;&amp;nbsp; File = activedocument.Evaluate("QVname.qvd'")&lt;/P&gt;&lt;P&gt;&amp;nbsp; File2&amp;nbsp; = "C:\Qlikview\" &amp;amp; File&lt;/P&gt;&lt;P&gt;&amp;nbsp; obj.ExportEx File2, 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 17:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513425#M191834</guid>
      <dc:creator>montero91</dc:creator>
      <dc:date>2013-11-12T17:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Export selected data from a List Box to Excel/QVD through Button?</title>
      <link>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513426#M191835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Salto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though I don't have experience on Macros, I did tried your script, by changing a bit with my objects. Still I am noticing when I click on the Button created, the Macro script editor opens up, without exporting the selected data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please post a sample QVW with this implementation? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 19:21:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513426#M191835</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-11-12T19:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Export selected data from a List Box to Excel/QVD through Button?</title>
      <link>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513427#M191836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though I don't have experience on Macros, I did tried your script, by changing a bit with my objects. Still I am noticing when I click on the Button created, the Macro script editor opens up, without exporting the selected data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please post a sample QVW with this implementation? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 19:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513427#M191836</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-11-12T19:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Export selected data from a List Box to Excel/QVD through Button?</title>
      <link>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513428#M191837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;crea una carpeta "Qlikview" en C:.&lt;/P&gt;&lt;P&gt;Cuando lo abras te preguntará por la seguridad por la ejecucion de macros. dale en permitir macros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Para ver el codigo es con Ctrl + m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 20:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513428#M191837</guid>
      <dc:creator>montero91</dc:creator>
      <dc:date>2013-11-12T20:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Export selected data from a List Box to Excel/QVD through Button?</title>
      <link>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513429#M191838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However noticed one thing.This exact script was not working when I was putting a List box ID. Changed a bit as below:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sub Export&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set obj = ActiveDocument.GetSheetObject("LB07")&lt;BR /&gt;obj.ServerSideExportEx "C:\QlikView\Export.qvd" , ";" , 4 '0=HTML, 1=Text, 2=Bitmap, 3=XML, 4=QVD, 5=BIFF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Also, could you please help me in getting a message box populating 'Exported Successfully' once the export is done? It is for users purpose only.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 07:15:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-selected-data-from-a-List-Box-to-Excel-QVD-through-Button/m-p/513429#M191838</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-11-13T07:15:26Z</dc:date>
    </item>
  </channel>
</rss>

