<?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: 'copyObjectsToExcelSheet' in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Type-mismatch-copyObjectsToExcelSheet/m-p/1030785#M348004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;That helped me on the way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Feb 2016 18:08:59 GMT</pubDate>
    <dc:creator>paul_ripley</dc:creator>
    <dc:date>2016-02-29T18:08:59Z</dc:date>
    <item>
      <title>Type mismatch: 'copyObjectsToExcelSheet'</title>
      <link>https://community.qlik.com/t5/QlikView/Type-mismatch-copyObjectsToExcelSheet/m-p/1030783#M348002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found this very useful article on how to send objects to excel using a macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/#downloads_971" title="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/#downloads_971"&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;However I get the above error message&lt;/P&gt;&lt;P&gt;Now I am a beginner with macros and I have seen that people have mentioned this also before and apparently there is some code I am missing from the article but I can see what I have done wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below is what I copied directly from the article and changed to reflect my objects.&lt;/P&gt;&lt;P&gt;What code am I missing as I am really stuck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub exportToExcel_Variant1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim aryExport(0,3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aryExport(0,0) = "CH01"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aryExport(0,1) = "InvestmentPortfolio" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aryExport(0,2) = "A1"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aryExport(0,3) = "data"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim objExcelWorkbook 'as Excel.Workbook&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set objExcelWorkbook = copyObjectsToExcelSheet(ActiveDocument, aryExport)&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>Thu, 25 Feb 2016 17:56:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Type-mismatch-copyObjectsToExcelSheet/m-p/1030783#M348002</guid>
      <dc:creator>paul_ripley</dc:creator>
      <dc:date>2016-02-25T17:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Type mismatch: 'copyObjectsToExcelSheet'</title>
      <link>https://community.qlik.com/t5/QlikView/Type-mismatch-copyObjectsToExcelSheet/m-p/1030784#M348003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;I think your code is not completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;copyObjectsToExcelSheet &lt;SPAN style="color: #000000;"&gt;- &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;not a Built-in Function. That is User Defined Function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;So, you need to Put the Complete Code.. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;There is a sample file which you have mentioned link&amp;nbsp; :&amp;nbsp; &lt;A href="http://www.qlikblog.at/wp-content/uploads/2011/03/qlikblog_ExportToMultipleExcelSheets.zip" title="http://www.qlikblog.at/wp-content/uploads/2011/03/qlikblog_ExportToMultipleExcelSheets.zip"&gt;http://www.qlikblog.at/wp-content/uploads/2011/03/qlikblog_ExportToMultipleExcelSheets.zip&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;IMG __jive_id="116044" alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116044_Capture.JPG" style="height: 532px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Let me know, if you are not able to download the file..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 03:04:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Type-mismatch-copyObjectsToExcelSheet/m-p/1030784#M348003</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-02-26T03:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Type mismatch: 'copyObjectsToExcelSheet'</title>
      <link>https://community.qlik.com/t5/QlikView/Type-mismatch-copyObjectsToExcelSheet/m-p/1030785#M348004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;That helped me on the way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 18:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Type-mismatch-copyObjectsToExcelSheet/m-p/1030785#M348004</guid>
      <dc:creator>paul_ripley</dc:creator>
      <dc:date>2016-02-29T18:08:59Z</dc:date>
    </item>
  </channel>
</rss>

