<?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: Problem with SendToExcel with VBS and Excel 365 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-SendToExcel-with-VBS-and-Excel-365/m-p/1531569#M748246</link>
    <description>&lt;P&gt;It's&amp;nbsp;the workaround I use (copy table to clipboard instead of&amp;nbsp;sending the chart to Excel). It works fine when I have small charts.&lt;/P&gt;&lt;P&gt;When I have huge charts, sending them to Excel seems to be a lot faster than copy them to clipboard.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jan 2019 13:20:55 GMT</pubDate>
    <dc:creator>nicolas_martin</dc:creator>
    <dc:date>2019-01-17T13:20:55Z</dc:date>
    <item>
      <title>Problem with SendToExcel with VBS and Excel 365</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SendToExcel-with-VBS-and-Excel-365/m-p/1531428#M748244</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I made some VBS scripts to export QlikView&amp;nbsp;charts from my application to an Exel workbook.&amp;nbsp;&lt;/P&gt;&lt;P&gt;With Excel 2007, it worked like a charm.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I've upgraded to Excel 365, it doesn't work anymore.&lt;/P&gt;&lt;P&gt;What I understand:&amp;nbsp;&lt;BR /&gt;- In Excel 2007, when I "sendtoexcel", it's sent in the same instance of Excel. I can manage every workbook from the VBS.&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;- In Excel 365, when I "sendtoexcel", it's sent in a new instance of Excel. I can manage only the first instance so I cannot use the one created by my "sendtoexcel".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Exemple:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;CONST CONST_ABSOLUTE_PATH = "c:\temp\"
' Excel
Set ExcelApp = CreateObject("Excel.Application")
ExcelApp.Visible = True

Set WorkBook = ExcelApp.Workbooks.Open(CONST_ABSOLUTE_PATH &amp;amp; "fichier.xlsx")

msgbox "There is " &amp;amp; ExcelApp.Workbooks.Count &amp;amp; " workbook(s)"


' QlikView
Set myApp = CreateObject("QlikTech.QlikView")
Set ActiveDocument= myApp.OpenDoc("c:\temp\app.qvw")
Set obj = ActiveDocument.GetSheetObject("CH01")
obj.sendtoexcel

msgbox "Now there is " &amp;amp; ExcelApp.Workbooks.Count &amp;amp; " workbooks"&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;In Excel 2007, the last line returns "2 workbooks". And in VBS I can play with both.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In Excel 365, the last line returns "1 workbook". And in VBS I can play only with the first one, not the one created by QlikView (even if I see it in my status bar).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an option in Excel to tell him to open new Excel always in the &lt;STRONG&gt;same&lt;/STRONG&gt; instance?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:44:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SendToExcel-with-VBS-and-Excel-365/m-p/1531428#M748244</guid>
      <dc:creator>nicolas_martin</dc:creator>
      <dc:date>2024-11-16T04:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SendToExcel with VBS and Excel 365</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SendToExcel-with-VBS-and-Excel-365/m-p/1531547#M748245</link>
      <description>&lt;P&gt;I don't know why it changed and if it could be bypassed in any way but I think you could use a slight different approach by not sending objects to excel else to copy &amp;amp; paste them like in this example: &lt;A href="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/" target="_blank"&gt;qliktip-32-exporting-multiple-objects-single-excel-document&lt;/A&gt; (the pictures are unfortunately gone but the download-link is further valid).&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 12:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SendToExcel-with-VBS-and-Excel-365/m-p/1531547#M748245</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-01-17T12:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SendToExcel with VBS and Excel 365</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SendToExcel-with-VBS-and-Excel-365/m-p/1531569#M748246</link>
      <description>&lt;P&gt;It's&amp;nbsp;the workaround I use (copy table to clipboard instead of&amp;nbsp;sending the chart to Excel). It works fine when I have small charts.&lt;/P&gt;&lt;P&gt;When I have huge charts, sending them to Excel seems to be a lot faster than copy them to clipboard.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 13:20:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SendToExcel-with-VBS-and-Excel-365/m-p/1531569#M748246</guid>
      <dc:creator>nicolas_martin</dc:creator>
      <dc:date>2019-01-17T13:20:55Z</dc:date>
    </item>
  </channel>
</rss>

