<?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: Macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro/m-p/789774#M1026759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tired it it now working &lt;/P&gt;&lt;P&gt;Iam using the same macro what i posted above and to that in the last row i added ur code but its not running &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Mar 2015 09:57:37 GMT</pubDate>
    <dc:creator>smilingjohn</dc:creator>
    <dc:date>2015-03-12T09:57:37Z</dc:date>
    <item>
      <title>Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Macro/m-p/789772#M1026757</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;Iam exporting a straight table to excel and in excel i want to colur yellow column D and Column F&lt;/P&gt;&lt;P&gt;how do i mention the code in the macro for this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Code :&lt;/P&gt;&lt;P&gt;sub ExportToExcel_Ration&lt;/P&gt;&lt;P&gt;Dim CLApp, XLDoc,XLSheet&lt;/P&gt;&lt;P&gt;&amp;nbsp; set XLApp = CreateObject("Excel.Application") ' Define Object&lt;/P&gt;&lt;P&gt;&amp;nbsp; XLApp.Visible = True 'Visible set as true&lt;/P&gt;&lt;P&gt;&amp;nbsp; set XLDoc = XLApp.Workbooks.Add 'Open new workbook&lt;/P&gt;&lt;P&gt;&amp;nbsp; set XLSheet = XLDoc.Worksheets.Add&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.GetSheetObject("CH04").CopyTableToClipboard TRUE&lt;/P&gt;&lt;P&gt;&amp;nbsp; XLSheet.paste&lt;/P&gt;&lt;P&gt;XLSheet.Name="Ration"&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 06:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro/m-p/789772#M1026757</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2015-03-12T06:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Macro/m-p/789773#M1026758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a vbscript question, not a qlikview question. Try this article: &lt;A href="http://www.geekshangout.com/content/example-using-vbs-script-create-populate-and-format-excel-document" title="http://www.geekshangout.com/content/example-using-vbs-script-create-populate-and-format-excel-document"&gt;An example of using a VBS script to create, populate and format an Excel document | Geeks Hangout&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14261490211515425" jivemacro_uid="_14261490211515425"&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; color: #808080;"&gt;'Change the background colour of column A to a light yellow&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;objExcel.&lt;SPAN style="font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; color: #66cc66;"&gt;Columns&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; color: #66cc66;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; color: #cc66cc;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; color: #66cc66;"&gt;)&lt;/SPAN&gt;.&lt;SPAN style="font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; color: #66cc66;"&gt;Interior&lt;/SPAN&gt;.&lt;SPAN style="font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; color: #66cc66;"&gt;ColorIndex&lt;/SPAN&gt; = &lt;SPAN style="font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; color: #cc66cc;"&gt;36&lt;/SPAN&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 08:29:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro/m-p/789773#M1026758</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-12T08:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Macro/m-p/789774#M1026759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tired it it now working &lt;/P&gt;&lt;P&gt;Iam using the same macro what i posted above and to that in the last row i added ur code but its not running &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 09:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro/m-p/789774#M1026759</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2015-03-12T09:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Macro/m-p/789775#M1026760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course it won&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;'t run if you blindly copied that line. Your code doesn't create an object with the name objExcel. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 10:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro/m-p/789775#M1026760</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-12T10:05:23Z</dc:date>
    </item>
  </channel>
</rss>

