<?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: Macros connection with Button Object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macros-connection-with-Button-Object/m-p/850003#M1003862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does work for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached.&lt;/P&gt;&lt;P&gt;Make sure that your "Macro name" under "Action" in the "Button properties" is the same as the name of the Module.&lt;/P&gt;&lt;P&gt;I see that there is space after the Macro name in VBS Editor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2015 12:25:52 GMT</pubDate>
    <dc:creator>robert_mika</dc:creator>
    <dc:date>2015-05-26T12:25:52Z</dc:date>
    <item>
      <title>Macros connection with Button Object</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-connection-with-Button-Object/m-p/850000#M1003856</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;I am quite new on Macros, and with the Qlik community help i could make one macro format but i am still not able to run it properly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87533_Capture.PNG" style="height: 407px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;As shown above when i click on test its giving me oproper results as required howveer when i click on Button in Red (Macro Testing) it does not give me anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help what is the process to link this macro to my button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 11:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-connection-with-Button-Object/m-p/850000#M1003856</guid>
      <dc:creator />
      <dc:date>2015-05-26T11:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Macros connection with Button Object</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-connection-with-Button-Object/m-p/850001#M1003857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have "CH01" within your objects?&lt;/P&gt;&lt;P&gt;Could you post the whole code not a screen shot?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 11:56:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-connection-with-Button-Object/m-p/850001#M1003857</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-05-26T11:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Macros connection with Button Object</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-connection-with-Button-Object/m-p/850002#M1003860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I do have one chart named as CH01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please find the Macros scripting below;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub ExcelExpwCaption&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Set the path where the excel will be saved&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filePath = "U:\Group Operations HQ\Qlik View Application\Macro Testing\Test.xls"&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Create the Excel spreadsheet&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set excelFile = CreateObject("Excel.Application")&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; excelFile.Visible = true&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Create the WorkBook&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set curWorkBook = excelFile.WorkBooks.Add&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Create the Sheet&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set curSheet = curWorkBook.WorkSheets(1)&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Get the chart we want to export&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set tableToExport = ActiveDocument.GetSheetObject("CH01")&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set chartProperties = tableToExport.GetProperties&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tableToExport.CopyTableToClipboard true&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Get the caption&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartCaption = tableToExport.GetCaption.Name.v&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'MsgBox chartCaption&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Set the first cell with the caption&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curSheet.Range("A1") = chartCaption&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Paste the rest of the chart&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curSheet.Paste curSheet.Range("A2")&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; excelFile.Visible = true&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;End Sub&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 12:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-connection-with-Button-Object/m-p/850002#M1003860</guid>
      <dc:creator />
      <dc:date>2015-05-26T12:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Macros connection with Button Object</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-connection-with-Button-Object/m-p/850003#M1003862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does work for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached.&lt;/P&gt;&lt;P&gt;Make sure that your "Macro name" under "Action" in the "Button properties" is the same as the name of the Module.&lt;/P&gt;&lt;P&gt;I see that there is space after the Macro name in VBS Editor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 12:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-connection-with-Button-Object/m-p/850003#M1003862</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-05-26T12:25:52Z</dc:date>
    </item>
  </channel>
</rss>

