<?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 objects to excel using macro. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365280#M135937</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;Thanks for responding!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I can see macro code of your file attached but can't run it to see output and macro is enabled. Please confirm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me which method should be used to export text box or button?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kirti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2012 14:11:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-24T14:11:24Z</dc:date>
    <item>
      <title>Export objects to excel using macro.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365278#M135935</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;I have few text boxes, button and multibox which are taking care of navigation of large amount of pivot tables. I have successfully exported related pivot tables and parameter multibox to excel using their object Ids in macro code written below:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set XLApp = CreateObject("Excel.Application")&lt;BR /&gt;XLApp.Visible = TRUE&lt;BR /&gt;Set XLDoc = XLApp.Workbooks.Add&lt;BR /&gt;j = ""&lt;BR /&gt;j = "Sheet1" &lt;/P&gt;&lt;P&gt;ActiveDocument.GetSheetObject("MB40").CopyTableToClipboard true&lt;BR /&gt;XLDoc.Sheets(j).Range("A" &amp;amp; 1).Select&lt;BR /&gt;XLDoc.Sheets(j).Paste &lt;/P&gt;&lt;P&gt;ActiveDocument.GetSheetObject("CH452").CopyTableToClipboard true&lt;BR /&gt;XLDoc.Sheets(j).Range("D" &amp;amp; 17).Select&lt;BR /&gt;XLDoc.Sheets(j).Paste &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to export report title to excel which is either in text box or button. When I try to export say TX31 or BU 31 in excel using same above code, it is exporting some other random object but not TX31 or BU 31. Can't we not export text box or button using this code or I am missing something in code. Please confirm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, parameter multibox is exported properly to excel and working fine until we select multiple values in single parameter. In this case it does not show those multiple selected values in excel. Please confirm how to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kirti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 13:44:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365278#M135935</guid>
      <dc:creator />
      <dc:date>2012-07-24T13:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Export objects to excel using macro.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365279#M135936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think GetSheetObject only works for charts and tables. So either you must create a shart or table with your text, or use another method. See attatched example. Best Regards, Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 13:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365279#M135936</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2012-07-24T13:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Export objects to excel using macro.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365280#M135937</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;Thanks for responding!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I can see macro code of your file attached but can't run it to see output and macro is enabled. Please confirm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me which method should be used to export text box or button?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kirti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 14:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365280#M135937</guid>
      <dc:creator />
      <dc:date>2012-07-24T14:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Export objects to excel using macro.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365281#M135938</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;I have slimmed down the macro and made a new doucment for you that I think will do all you want to have done. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this new file instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im using variables to store text for button and textboxes. Then in the macro I get the values from those variables and but them in cell A1 and A2. Next I copy the content of the chart and paste in in cell A10 (and down)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;brg &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 06:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365281#M135938</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2012-07-25T06:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Export objects to excel using macro.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365282#M135939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for this. It is working now. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me with other issue too which is mentioned above, let me re-write it for you:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter multibox is exported properly to excel and working fine until we select multiple values in single parameter. In this case it does not show any selected value for that parameter in excel. Please confirm how to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kirti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 12:14:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365282#M135939</guid>
      <dc:creator />
      <dc:date>2012-07-25T12:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Export objects to excel using macro.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365283#M135940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great that it is working. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On your second topic, exporting multibox which has multiple values select, I get the same issue. Perhaps this is a bug....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A work around that you perhaps can live with is to add a "Current Selection Object" and export that instead. This I verified works and it will in excel display all your multiple selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 12:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365283#M135940</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2012-07-25T12:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Export objects to excel using macro.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365284#M135941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Robert!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even I was thinking of using Current Selection Box , thanks for confirming it!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now problem is that if I select many values in single parameter then current selection box shows number of selected values like '8 of 92' instead of showing those 8 selected values comma separated. I don't want this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any limit of characters in CS box? Is there any setting through which I can remove these limitations? Please help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kirti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 07:12:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365284#M135941</guid>
      <dc:creator />
      <dc:date>2012-07-26T07:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Export objects to excel using macro.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365285#M135942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kirti, there is always a solution! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I don't understand your problem. If I have for instance a dimension called "Months", and I select January, March and December, then my current selection box will display those months as comma separated. Is this not what you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 07:27:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365285#M135942</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2012-07-26T07:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Export objects to excel using macro.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365286#M135943</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;I got solution for that. Actually current selection box values were limited to 6, got the setting to be updated in User preferences , General tab. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, please confirm if current selection box will be exported to excel with the code I am using currently like charts and multibox or I have to use some other technique for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kirti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 08:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365286#M135943</guid>
      <dc:creator />
      <dc:date>2012-07-26T08:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Export objects to excel using macro.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365287#M135944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kirti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not quite sure what you want to achieve, so I will explain what I think Qlikview is doing instead, and perhaps that is an answer that will help you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The standard "current selection box" will always display all that is current selected in your document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a field called MonthID, and another field called MonthName, and you make selection "10" in the MonthID - current selection box will show MonthID=10, but it will not show MonthName="October", since you have not selected "October".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. As far as I understand, the export to excel with GetSheetObject, will export exactly what you can see in Qlikview. So if you&amp;nbsp; do not see what you want in the current selection box, you will not be happy with the export.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to create your own "Current Selection Box" that will display whatever you like it to display, leaving out selections that you don't want to see etc. And you may then export that object instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is however, much more complicated and I would recomend that you turn to a consultant for solving this - if you need it, or study the forum threads here and you will be able to figure out how to do it yourself, but you must know much more about macros, selections and variables to solve it.&lt;/P&gt;&lt;P&gt;(And I don't have the time to help you with this right now.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards, &lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 09:10:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365287#M135944</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2012-07-26T09:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Export objects to excel using macro.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365288#M135945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for tips!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me if we can update the field names in current selection box at UI level or only option of renaming fields is through script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kirti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 13:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365288#M135945</guid>
      <dc:creator />
      <dc:date>2012-07-26T13:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Export objects to excel using macro.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365289#M135946</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;If you mean renaming fields to be shown in the "current selection box", you must do this in the script part.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Write like this at the very end of your script:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;RENAME FIELD OldFieldName to NewFieldName;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You may repeat that line for all fields you want to rename.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You can have space in the field name, but use bracets like this:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RENAME FIELD MonthID to [Month Number];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 13:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365289#M135946</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2012-07-26T13:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Export objects to excel using macro.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365290#M135947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this renaming thing, script was good with this syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after reloading I could not find my new field name in fields. Can you please tell me where can I find these new names and how to use them in my multibox?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kirti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 14:33:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365290#M135947</guid>
      <dc:creator />
      <dc:date>2012-07-26T14:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Export objects to excel using macro.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365291#M135948</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;Should work, remember that field names are case sensitive. You may post you document here and I can have a look at it if you like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards, Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 06:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365291#M135948</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2012-07-30T06:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Export objects to excel using macro.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365292#M135949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to replace some text in an exported excel worksheet via a macro ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sheet.Columns("C:C").Replace What="qmem", Replacement="",LookAt=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above code always throws an error that "Microsoft excel cannot find any data to replace. Check if your search formatting criteria are defined correctly. If you are sure that matching data exists in the workbook, it may be on a protected sheet. Excel cannot replace data on a protected worksheet."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 07:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365292#M135949</guid>
      <dc:creator />
      <dc:date>2013-01-24T07:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Export objects to excel using macro.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365293#M135950</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;This should do it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sub ReplaceInExcel()&lt;BR /&gt;&lt;BR /&gt; Set xlApp = CreateObject("Excel.Application")&lt;BR /&gt;&lt;BR /&gt; xlApp.Visible = true&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt; Set xlDoc = xlApp.Workbooks.open("c:\replace.xlsx")&lt;BR /&gt;&lt;BR /&gt; Set objWorkSheet = xlDoc.Worksheets(1)&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt; objWorkSheet.Cells(1,1).Value = replace(objWorkSheet.Cells(1,1).Value,"AAA","BBB")&amp;nbsp; 'Replace AAA with BBB in the cell A1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt; xlDoc.Save&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt; xlApp.Quit&lt;BR /&gt;&lt;BR /&gt;End sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 09:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-objects-to-excel-using-macro/m-p/365293#M135950</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2013-01-24T09:44:30Z</dc:date>
    </item>
  </channel>
</rss>

