<?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: Type Mismatch on copyObjectsToExcelSheet in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Type-Mismatch-on-copyObjectsToExcelSheet/m-p/2547#M608927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your code is incomplete. Take here a look into the origin posting: &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;QlikTip #32: Exporting multiple QV objects to a single Excel document&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2018 08:29:37 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2018-01-18T08:29:37Z</dc:date>
    <item>
      <title>Type Mismatch on copyObjectsToExcelSheet</title>
      <link>https://community.qlik.com/t5/QlikView/Type-Mismatch-on-copyObjectsToExcelSheet/m-p/2546#M608925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i used this script to copy table to excel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sub export_situation()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set val=ActiveDocument.Fields("souad").GetPossibleValues&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for i=0 to val.Count-1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.Fields("souad").Select (val.Item(i).Text)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set objagenceClient = ActiveDocument.GetSheetObject("tablesouad")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sheetname=val.Item(i).Text&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim aryExport(6,3)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aryExport(i,0) = "tablesouad"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aryExport(i,1) = val.Item(i).Text&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aryExport(i,2) = "A1"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aryExport(i,3) = "data"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim objExcelWorkbook 'as Excel.Workbook&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Set objExcelWorkbook = copyObjectsToExcelSheet(ActiveDocument, aryExport)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;end Sub&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i have this error&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="190418" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190418_Capture.PNG" style="height: 290px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2018 21:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Type-Mismatch-on-copyObjectsToExcelSheet/m-p/2546#M608925</guid>
      <dc:creator>souadouert</dc:creator>
      <dc:date>2018-01-17T21:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Type Mismatch on copyObjectsToExcelSheet</title>
      <link>https://community.qlik.com/t5/QlikView/Type-Mismatch-on-copyObjectsToExcelSheet/m-p/2547#M608927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your code is incomplete. Take here a look into the origin posting: &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;QlikTip #32: Exporting multiple QV objects to a single Excel document&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 08:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Type-Mismatch-on-copyObjectsToExcelSheet/m-p/2547#M608927</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-01-18T08:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Type Mismatch on copyObjectsToExcelSheet</title>
      <link>https://community.qlik.com/t5/QlikView/Type-Mismatch-on-copyObjectsToExcelSheet/m-p/1782824#M1209702</link>
      <description>&lt;P&gt;Hallo Markus,&lt;/P&gt;&lt;P&gt;ich nutze das Script schon eine Weile und habe es nun neu in eine qvw integriert und erhalte nun die selbe Fehlermeldung. Habe auch schon auf ganz rudimentär reduziert. Es läuft einfach nicht. In mehreren anderen Apps schon. Auch die original&amp;nbsp;qlikblog_ExportToMultipleExcelSheets.qvw läuft.&lt;/P&gt;&lt;P&gt;In meiner "neuen" App nicht. Dort ist auch sonst kein VBA "verbaut".&lt;/P&gt;&lt;P&gt;1:1 aus der Quelle kopiert:&lt;/P&gt;&lt;P&gt;sub test&lt;BR /&gt;'// Array for export definitions&lt;BR /&gt;Dim aryExport(0,3)&lt;/P&gt;&lt;P&gt;aryExport(0,0) = "objSalesPerYearAndRegion"&lt;BR /&gt;aryExport(0,1) = "Sales per Region a. Year"&lt;BR /&gt;aryExport(0,2) = "A1"&lt;BR /&gt;aryExport(0,3) = "data"&lt;/P&gt;&lt;P&gt;Dim objExcelWorkbook 'as Excel.Workbook&lt;BR /&gt;Set objExcelWorkbook = copyObjectsToExcelSheet(ActiveDocument, aryExport)&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;und eine Tabelle unter Objekt-ID als "objSalesPerYearAndRegion" benannt.&lt;/P&gt;&lt;P&gt;Gibt es in Qlikview noch irgendwo eine Einstellung?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 17:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Type-Mismatch-on-copyObjectsToExcelSheet/m-p/1782824#M1209702</guid>
      <dc:creator>bomedic16</dc:creator>
      <dc:date>2021-02-15T17:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Type Mismatch on copyObjectsToExcelSheet</title>
      <link>https://community.qlik.com/t5/QlikView/Type-Mismatch-on-copyObjectsToExcelSheet/m-p/1782901#M1209710</link>
      <description>&lt;P&gt;Hat sich erledigt. Alles gefunden und müsste un laufen.... der Fehler saß vor dem PC &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 06:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Type-Mismatch-on-copyObjectsToExcelSheet/m-p/1782901#M1209710</guid>
      <dc:creator>bomedic16</dc:creator>
      <dc:date>2021-02-16T06:25:36Z</dc:date>
    </item>
  </channel>
</rss>

