<?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 Exporting Objects from Multiple Sheets of a Qlikview Document to multiple worksheets of an Excel Document in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exporting-Objects-from-Multiple-Sheets-of-a-Qlikview-Document-to/m-p/220971#M73828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi...&lt;/P&gt;&lt;P&gt;Can any one help me with this?&lt;/P&gt;&lt;P&gt;I am able to export the data from the current tab in qlikview to multiple sheets but not able to get the data from multiple tabs.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2011 19:32:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-01T19:32:07Z</dc:date>
    <item>
      <title>Exporting Objects from Multiple Sheets of a Qlikview Document to multiple worksheets of an Excel Document</title>
      <link>https://community.qlik.com/t5/QlikView/Exporting-Objects-from-Multiple-Sheets-of-a-Qlikview-Document-to/m-p/220968#M73825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi...&lt;/P&gt;&lt;P&gt;I am trying to export a qlikview document to Excel using macros and a button. But, when I use a macro, I am only able to access the active sheets objects and not the objects on the other sheets. I tried copying the objects as bitmap images and pasting on the worksheets.&lt;/P&gt;&lt;P&gt;The macro is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub excel&lt;/P&gt;&lt;P&gt;set XLApp = CreateObject("Excel.Application")&lt;/P&gt;&lt;P&gt;XLApp.Visible=True&lt;/P&gt;&lt;P&gt;set XLDoc = XLApp.Workbooks.Add&lt;/P&gt;&lt;P&gt;set table = ActiveDocument.GetSheetObject("CH607")&lt;/P&gt;&lt;P&gt;set XLSheet = XLDoc.Worksheets("Sheet1")&lt;/P&gt;&lt;P&gt;XLSheet.Range( "A1").value = "Order Trend"&lt;/P&gt;&lt;P&gt;table.CopyBitmapToClipboard&lt;/P&gt;&lt;P&gt;XLSheet.Paste XLSheet.Range( "A3")&lt;/P&gt;&lt;P&gt;set table = ActiveDocument.GetSheetObject("CH878")&lt;/P&gt;&lt;P&gt;table.CopyBitmapToClipboard&lt;/P&gt;&lt;P&gt;XLSheet.Paste XLSheet.Range( "A20")&lt;/P&gt;&lt;P&gt;set XLSheet = XLDoc.Worksheets("Sheet2")&lt;/P&gt;&lt;P&gt;set table1 = ActiveDocument.GetSheetObject("CH628")&lt;/P&gt;&lt;P&gt;table1.CopyBitmapToClipboard&lt;/P&gt;&lt;P&gt;XLSheet.Paste XLSheet.Range( "A15")&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;The objects CH607 and CH878 are on the same sheet as the macro button and CH628 is on a different sheet. So, when I run the macro, the objects CH607 and CH878 are pasted on Sheet 1 and CH878 is pasted on sheet 2 as the clipboard continues to have CH878 and does not overwrite it with CH628.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 23:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exporting-Objects-from-Multiple-Sheets-of-a-Qlikview-Document-to/m-p/220968#M73825</guid>
      <dc:creator />
      <dc:date>2011-02-17T23:36:45Z</dc:date>
    </item>
    <item>
      <title>Exporting Objects from Multiple Sheets of a Qlikview Document to multiple worksheets of an Excel Document</title>
      <link>https://community.qlik.com/t5/QlikView/Exporting-Objects-from-Multiple-Sheets-of-a-Qlikview-Document-to/m-p/220969#M73826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Correos()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Doc = ActiveDocument&lt;/P&gt;&lt;P&gt;Set DocProp = Doc.GetProperties&lt;/P&gt;&lt;P&gt;Directory = DocProp.MyWorkingDirectory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc.GetApplication.Refresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set AppExcel = CreateObject("Excel.Application")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.Visible = True&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.WorkBooks.Add()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Gra01 = Doc.GetSheetObject("CH16")&lt;/P&gt;&lt;P&gt;Set Gra02 = Doc.GetSheetObject("CH17")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Txt01 = Doc.GetSheetObject("TX13")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// ***************** Se realiza filtro de Negocio y Dummy **********************************************&lt;/P&gt;&lt;P&gt;ActiveDocument.ClearAll false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("Cia").ToggleSelect "010"&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("Cia").ToggleSelect "100"&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("Cia").ToggleSelect "500"&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("Cia").ToggleSelect "700"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.getApplication.sleep 5000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.Sheets.Add()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Txt01.CopyTextToClipboard&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Cells(1,3).Activate&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Paste&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Name = "Stock PT"&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Cells(4,1).Activate&lt;/P&gt;&lt;P&gt;Gra01.CopyTableToClipboard True&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Paste&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Columns("B").Delete&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Range("B5:AZ20").NumberFormat = ("#,##0")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Columns("A").ColumnWidth = 40&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Columns("A").AutoFit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.getApplication.sleep 5000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Gra02 = Doc.GetSheetObject("CH17")&lt;/P&gt;&lt;P&gt;Gra02.CopyBitMapToClipboard&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Cells(17,1).Activate&lt;/P&gt;&lt;P&gt;Gra02.CopyBitMapToClipboard&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Paste&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Cells(1,1).Activate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// ********************* Salva y Cierra el Excel ***************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ruta = Directory &amp;amp; "\Stock" &amp;amp; Year(Now) &amp;amp; Month(Now) &amp;amp; Day(Now) &amp;amp; " a las " &amp;amp; Hour(Now) &amp;amp; Minute(Now) &amp;amp; Second(Now) &amp;amp; ".XLS"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.SaveAs (Ruta)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Function&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 00:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exporting-Objects-from-Multiple-Sheets-of-a-Qlikview-Document-to/m-p/220969#M73826</guid>
      <dc:creator />
      <dc:date>2011-02-18T00:23:13Z</dc:date>
    </item>
    <item>
      <title>Exporting Objects from Multiple Sheets of a Qlikview Document to multiple worksheets of an Excel Document</title>
      <link>https://community.qlik.com/t5/QlikView/Exporting-Objects-from-Multiple-Sheets-of-a-Qlikview-Document-to/m-p/220970#M73827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fernando,&lt;/P&gt;&lt;P&gt;I tried your script but I dont know where I am going wrong. I am still unable to access the sheet object from the inactive sheet. I am just able to paste the object 607.&lt;/P&gt;&lt;P&gt;The script I used is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub xl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Doc = ActiveDocument&lt;/P&gt;&lt;P&gt;Set DocProp = Doc.GetProperties&lt;/P&gt;&lt;P&gt;Directory = DocProp.MyWorkingDirectory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc.GetApplication.Refresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set AppExcel = CreateObject("Excel.Application")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.Visible = True&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.WorkBooks.Add()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Gra01 = Doc.GetSheetObject("CH607")&lt;/P&gt;&lt;P&gt;Set Gra02 = Doc.GetSheetObject("CH878")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Txt01 = Doc.GetSheetObject("CH628")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.ClearAll false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.getApplication.sleep 5000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.Sheets.Add()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Name = "Trend Analysis"&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Cells(4,1).Activate&lt;/P&gt;&lt;P&gt;Gra01.CopyTableToClipboard True&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Paste&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Columns("A").AutoFit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.getApplication.sleep 5000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Txt01 = Doc.GetSheetObject("CH628")&lt;/P&gt;&lt;P&gt;Txt01.CopyBitMapToClipboard&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Cells(17,1).Activate&lt;/P&gt;&lt;P&gt;Txt01.CopyBitMapToClipboard&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Paste&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Cells(1,1).Activate&lt;/P&gt;&lt;P&gt;Ruta = Directory &amp;amp; "\Accent Energy" &amp;amp; Year(Now) &amp;amp; Month(Now) &amp;amp; ".XLS"&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.SaveAs (Ruta)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 00:39:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exporting-Objects-from-Multiple-Sheets-of-a-Qlikview-Document-to/m-p/220970#M73827</guid>
      <dc:creator />
      <dc:date>2011-02-18T00:39:31Z</dc:date>
    </item>
    <item>
      <title>Exporting Objects from Multiple Sheets of a Qlikview Document to multiple worksheets of an Excel Document</title>
      <link>https://community.qlik.com/t5/QlikView/Exporting-Objects-from-Multiple-Sheets-of-a-Qlikview-Document-to/m-p/220971#M73828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi...&lt;/P&gt;&lt;P&gt;Can any one help me with this?&lt;/P&gt;&lt;P&gt;I am able to export the data from the current tab in qlikview to multiple sheets but not able to get the data from multiple tabs.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 19:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exporting-Objects-from-Multiple-Sheets-of-a-Qlikview-Document-to/m-p/220971#M73828</guid>
      <dc:creator />
      <dc:date>2011-03-01T19:32:07Z</dc:date>
    </item>
    <item>
      <title>Exporting Objects from Multiple Sheets of a Qlikview Document to multiple worksheets of an Excel Document</title>
      <link>https://community.qlik.com/t5/QlikView/Exporting-Objects-from-Multiple-Sheets-of-a-Qlikview-Document-to/m-p/220972#M73829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at the article I have posted some minutes ago:&lt;/P&gt;&lt;P&gt;http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Mar 2011 00:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exporting-Objects-from-Multiple-Sheets-of-a-Qlikview-Document-to/m-p/220972#M73829</guid>
      <dc:creator>Stefan_Walther</dc:creator>
      <dc:date>2011-03-12T00:08:01Z</dc:date>
    </item>
    <item>
      <title>Exporting Objects from Multiple Sheets of a Qlikview Document to multiple worksheets of an Excel Document</title>
      <link>https://community.qlik.com/t5/QlikView/Exporting-Objects-from-Multiple-Sheets-of-a-Qlikview-Document-to/m-p/220973#M73830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your script on export to excel with data and image on multiple sheets on same excel .. It works fantastic. The only problem i am encoutering is for image it only displays the active chart.&amp;nbsp; I have 3 charts on the same sheet in qvw and all the 3 charts are placed in container in 3 tabs A, B, C.&amp;nbsp; Now i followed your process of excel export in such a way that A with data and image is exported in one sheet , B in other and C in other .&amp;nbsp; but for B and C only data is exported no image.&amp;nbsp; As A is currently seelcted only A has image .&amp;nbsp; If i select B tab in qvw and click on export, i see image for B tab and not in A and c ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you come with a solution for this problem &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 19:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exporting-Objects-from-Multiple-Sheets-of-a-Qlikview-Document-to/m-p/220973#M73830</guid>
      <dc:creator>chetan_surana</dc:creator>
      <dc:date>2012-04-20T19:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Objects from Multiple Sheets of a Qlikview Document to multiple worksheets of an Excel Document</title>
      <link>https://community.qlik.com/t5/QlikView/Exporting-Objects-from-Multiple-Sheets-of-a-Qlikview-Document-to/m-p/220974#M73831</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;Stefan's blog post is an excellent example of how you can achieve this using macro code.&amp;nbsp; If you want something that is more GUI and template driven you need to look at third party solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NPrinting allows you to pull data from numerous tables into different tabs of an Excel template.&amp;nbsp; The template can have headers and totals defined in Excel - with different font definitions and cell shading etc.&amp;nbsp; You can even pull multiple tables onto one sheet or pull images from QlikView into your document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information on NPrinting please see our website:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.quickintelligence.co.uk/nprinting/" title="http://www.quickintelligence.co.uk/nprinting/"&gt;http://www.quickintelligence.co.uk/nprinting/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 11:16:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exporting-Objects-from-Multiple-Sheets-of-a-Qlikview-Document-to/m-p/220974#M73831</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-01-03T11:16:45Z</dc:date>
    </item>
  </channel>
</rss>

