<?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: Excel export macro issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excel-export-macro-issue/m-p/1456091#M794606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Managed to find a solution. Apparently VBScript doesn't support all excel-defined constants so you have to use the numerical value. &lt;BR /&gt;I ran: &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;XLsheet1.Range("A3:AD37").Borders(xlEdgeBottom).Weight = 4&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;XLsheet1.Range("A3:AD37").Borders(xlEdgeLeft).Weight = 4&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;XLsheet1.Range("A3:AD37").Borders(xlEdgeRight).Weight = 4&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;XLsheet1.Range("A3:AD37").Borders(xlEdgeTop).Weight = 4&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and all worked well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Dec 2017 10:50:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-12-28T10:50:48Z</dc:date>
    <item>
      <title>Excel export macro issue</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-export-macro-issue/m-p/1456088#M794603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I keep getting an "unknown runtime error" at these lines: &lt;/P&gt;&lt;P&gt;XLsheet1.Range("A3:AD37").Borders(xlEdgeBottom).Weight = xlMedium&lt;/P&gt;&lt;P&gt;XLsheet1.Range("A3:AD37").Borders(xlEdgeLeft).Weight = xlMedium&lt;/P&gt;&lt;P&gt;XLsheet1.Range("A3:AD37").Borders(xlEdgeRight).Weight = xlMedium&lt;/P&gt;&lt;P&gt;XLsheet1.Range("A3:AD37").Borders(xlEdgeTop).Weight = xlMedium&lt;/P&gt;&lt;P&gt;I'm trying to put some thick borders in the said cells range by setting the weight as Medium, but the unknown runtime error happens on every line(tried commenting them). &lt;BR /&gt;Is there any workaround for the error or a different way of putting thick borders in the excel cells with a macro in QlikView, after exporting some pivot tables from QlikView? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-export-macro-issue/m-p/1456088#M794603</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Excel export macro issue</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-export-macro-issue/m-p/1456089#M794604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is macro required?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your range fixed then you can apply format in you template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still want to use macro then instead of XLsheet1 use sheet1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 10:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-export-macro-issue/m-p/1456089#M794604</guid>
      <dc:creator>big_dreams</dc:creator>
      <dc:date>2017-12-28T10:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Excel export macro issue</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-export-macro-issue/m-p/1456090#M794605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The macro is required because besides formatting, it exports some pivot tables from QlikView&lt;/P&gt;&lt;P&gt;I've also tried replacing XLsheet1 with XLDoc.Sheets(1) but I still get the same error. Here are some of the "set"s I use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set XLApp = CreateObject("Excel.Application")&lt;/P&gt;&lt;P&gt;set XLDoc = XLApp.Workbooks.Add&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 10:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-export-macro-issue/m-p/1456090#M794605</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-28T10:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Excel export macro issue</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-export-macro-issue/m-p/1456091#M794606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Managed to find a solution. Apparently VBScript doesn't support all excel-defined constants so you have to use the numerical value. &lt;BR /&gt;I ran: &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;XLsheet1.Range("A3:AD37").Borders(xlEdgeBottom).Weight = 4&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;XLsheet1.Range("A3:AD37").Borders(xlEdgeLeft).Weight = 4&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;XLsheet1.Range("A3:AD37").Borders(xlEdgeRight).Weight = 4&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;XLsheet1.Range("A3:AD37").Borders(xlEdgeTop).Weight = 4&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and all worked well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 10:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-export-macro-issue/m-p/1456091#M794606</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-28T10:50:48Z</dc:date>
    </item>
  </channel>
</rss>

