<?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 '4th sheet' in excel macro problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/4th-sheet-in-excel-macro-problem/m-p/733178#M262683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a macro that was quite happy in excel until I added the 'bold' line (which I added because later I need to use sheet4, sheet5 etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it fails on the 'set xlsheet bit' with 'object doesn't support this property or method 'xldoc worksheet'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub weeklyexport&lt;/P&gt;&lt;P&gt;set XLApp = CreateObject("Excel.Application") XLApp.Visible = True&lt;/P&gt;&lt;P&gt;set XLDoc = XLApp.Workbooks.Add&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18pt;"&gt;set XLDoc = XLApp.Worksheets.Add&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;set xlSheet=XlDoc.Woksheets("Sheet1")&lt;/P&gt;&lt;P&gt;xlSheet.Activate&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>Wed, 23 Jul 2014 12:20:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-23T12:20:39Z</dc:date>
    <item>
      <title>'4th sheet' in excel macro problem</title>
      <link>https://community.qlik.com/t5/QlikView/4th-sheet-in-excel-macro-problem/m-p/733178#M262683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a macro that was quite happy in excel until I added the 'bold' line (which I added because later I need to use sheet4, sheet5 etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it fails on the 'set xlsheet bit' with 'object doesn't support this property or method 'xldoc worksheet'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub weeklyexport&lt;/P&gt;&lt;P&gt;set XLApp = CreateObject("Excel.Application") XLApp.Visible = True&lt;/P&gt;&lt;P&gt;set XLDoc = XLApp.Workbooks.Add&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18pt;"&gt;set XLDoc = XLApp.Worksheets.Add&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;set xlSheet=XlDoc.Woksheets("Sheet1")&lt;/P&gt;&lt;P&gt;xlSheet.Activate&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>Wed, 23 Jul 2014 12:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/4th-sheet-in-excel-macro-problem/m-p/733178#M262683</guid>
      <dc:creator />
      <dc:date>2014-07-23T12:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: '4th sheet' in excel macro problem</title>
      <link>https://community.qlik.com/t5/QlikView/4th-sheet-in-excel-macro-problem/m-p/733179#M262684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your bold line changes the XLDoc object from a Workbook object (previous line) to a Worksheet object&lt;/P&gt;&lt;P&gt;You have also misspelled worksheet in the set xlSheet line&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 13:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/4th-sheet-in-excel-macro-problem/m-p/733179#M262684</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2014-07-23T13:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: '4th sheet' in excel macro problem</title>
      <link>https://community.qlik.com/t5/QlikView/4th-sheet-in-excel-macro-problem/m-p/733180#M262685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michael - it was the object issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 13:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/4th-sheet-in-excel-macro-problem/m-p/733180#M262685</guid>
      <dc:creator />
      <dc:date>2014-07-23T13:39:30Z</dc:date>
    </item>
  </channel>
</rss>

