<?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 Excel Borders in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excel-Borders/m-p/209114#M64223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi...&lt;/P&gt;&lt;P&gt;The vb macro shown below copies a chart from QlikView, pastes into Excel then puts the borders on....&lt;/P&gt;&lt;P&gt;The issue I have is that I need to specify the Excel range in advance.&lt;/P&gt;&lt;P&gt;Is there a way of determining the range which has been output?&lt;/P&gt;&lt;P&gt;Thanks for any help...&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;sub ExcelCH510&lt;/P&gt;&lt;P&gt;Set chart = ActiveDocument.GetSheetObject("CH510")&lt;/P&gt;&lt;P&gt;XLrange = "A1:T34"&lt;/P&gt;&lt;P&gt;Call OutputToExcel(chart, XLrange)&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;Function OutputToExcel(chart, XLrange)&lt;/P&gt;&lt;P&gt;chart.CopyTableToClipboard true&lt;/P&gt;&lt;P&gt;Set XLapp = CreateObject("Excel.Application")&lt;/P&gt;&lt;P&gt;XLapp.Visible = True&lt;/P&gt;&lt;P&gt;Set XLdoc = XLapp.Workbooks.Add&lt;/P&gt;&lt;P&gt;Set XLsheet = XLdoc.Worksheets(1)&lt;/P&gt;&lt;P&gt;XLSheet.Paste&lt;/P&gt;&lt;P&gt;XlSheet.Range(XLrange).Select&lt;/P&gt;&lt;P&gt;XlSheet.Range(XLrange).Borders.ColorIndex = 0&lt;/P&gt;&lt;P&gt;XlSheet.Range("A1").Select&lt;/P&gt;&lt;P&gt;End Function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Sep 2010 11:35:04 GMT</pubDate>
    <dc:creator>pkelly</dc:creator>
    <dc:date>2010-09-20T11:35:04Z</dc:date>
    <item>
      <title>Excel Borders</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-Borders/m-p/209114#M64223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi...&lt;/P&gt;&lt;P&gt;The vb macro shown below copies a chart from QlikView, pastes into Excel then puts the borders on....&lt;/P&gt;&lt;P&gt;The issue I have is that I need to specify the Excel range in advance.&lt;/P&gt;&lt;P&gt;Is there a way of determining the range which has been output?&lt;/P&gt;&lt;P&gt;Thanks for any help...&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;sub ExcelCH510&lt;/P&gt;&lt;P&gt;Set chart = ActiveDocument.GetSheetObject("CH510")&lt;/P&gt;&lt;P&gt;XLrange = "A1:T34"&lt;/P&gt;&lt;P&gt;Call OutputToExcel(chart, XLrange)&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;Function OutputToExcel(chart, XLrange)&lt;/P&gt;&lt;P&gt;chart.CopyTableToClipboard true&lt;/P&gt;&lt;P&gt;Set XLapp = CreateObject("Excel.Application")&lt;/P&gt;&lt;P&gt;XLapp.Visible = True&lt;/P&gt;&lt;P&gt;Set XLdoc = XLapp.Workbooks.Add&lt;/P&gt;&lt;P&gt;Set XLsheet = XLdoc.Worksheets(1)&lt;/P&gt;&lt;P&gt;XLSheet.Paste&lt;/P&gt;&lt;P&gt;XlSheet.Range(XLrange).Select&lt;/P&gt;&lt;P&gt;XlSheet.Range(XLrange).Borders.ColorIndex = 0&lt;/P&gt;&lt;P&gt;XlSheet.Range("A1").Select&lt;/P&gt;&lt;P&gt;End Function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 11:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-Borders/m-p/209114#M64223</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2010-09-20T11:35:04Z</dc:date>
    </item>
    <item>
      <title>Excel Borders</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-Borders/m-p/209115#M64224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone help me on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 11:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-Borders/m-p/209115#M64224</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2010-10-06T11:07:38Z</dc:date>
    </item>
    <item>
      <title>Excel Borders</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-Borders/m-p/209116#M64225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't had the time to try it out myself, but i guess you should be able to use" xlDown" and "xlToRight", to select the output area.&lt;/P&gt;&lt;P&gt;/Martn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 12:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-Borders/m-p/209116#M64225</guid>
      <dc:creator />
      <dc:date>2010-10-06T12:48:58Z</dc:date>
    </item>
  </channel>
</rss>

