<?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: Calling macro Function in BackEnd in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calling-macro-Function-in-BackEnd/m-p/463348#M488920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no..actually i want the id of the sheet objects in a particular sheet. for example if&amp;nbsp; have 3 straight table in Sheet 1 then i want CH01,CH02,CH03 &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Nov 2012 17:55:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-23T17:55:47Z</dc:date>
    <item>
      <title>Calling macro Function in BackEnd</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-macro-Function-in-BackEnd/m-p/463344#M488916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys &lt;/P&gt;&lt;P&gt;i have written a following Macro Function &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function CountNumberOfRows()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Sheet = ActiveDocument.GetSheetObject("CH01")&lt;/P&gt;&lt;P&gt;Rows = Sheet.GetNoOfRows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CountNumberOfRows = Rows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i m calling the above Macro Function in backend Like as below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let v = CountNumberOfRows();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the variable v is not not getting any value.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 17:12:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-macro-Function-in-BackEnd/m-p/463344#M488916</guid>
      <dc:creator />
      <dc:date>2012-11-23T17:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calling macro Function in BackEnd</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-macro-Function-in-BackEnd/m-p/463345#M488917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't access UI objects in the script, i.e. during reloads. So the macro can't get the number of rows. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 17:16:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-macro-Function-in-BackEnd/m-p/463345#M488917</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-23T17:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calling macro Function in BackEnd</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-macro-Function-in-BackEnd/m-p/463346#M488918</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;thanks for the reply &lt;/P&gt;&lt;P&gt;Can you tell how to access the Sheetobjectid of the objects in each sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the Id of the Charts in a sheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 17:44:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-macro-Function-in-BackEnd/m-p/463346#M488918</guid>
      <dc:creator />
      <dc:date>2012-11-23T17:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calling macro Function in BackEnd</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-macro-Function-in-BackEnd/m-p/463347#M488919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can access them with a macro like you posted. But the macro only works in the UI, in interactive mode. It won't work when you call the macro in the load script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 17:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-macro-Function-in-BackEnd/m-p/463347#M488919</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-23T17:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calling macro Function in BackEnd</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-macro-Function-in-BackEnd/m-p/463348#M488920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no..actually i want the id of the sheet objects in a particular sheet. for example if&amp;nbsp; have 3 straight table in Sheet 1 then i want CH01,CH02,CH03 &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 17:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-macro-Function-in-BackEnd/m-p/463348#M488920</guid>
      <dc:creator />
      <dc:date>2012-11-23T17:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calling macro Function in BackEnd</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-macro-Function-in-BackEnd/m-p/463349#M488921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Just an example. You'll have to modify it to your needs yourself:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sub GetIDs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Objects = ActiveDocument.ActiveSheet.GetSheetObjects&lt;BR /&gt;For i = lBound(Objects) To uBound(Objects)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id = Objects(i).GetObjectId&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox("ID = " &amp;amp; id)&lt;BR /&gt;next&lt;/P&gt;&lt;P&gt;&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>Fri, 23 Nov 2012 18:16:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-macro-Function-in-BackEnd/m-p/463349#M488921</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-23T18:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calling macro Function in BackEnd</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-macro-Function-in-BackEnd/m-p/463350#M488922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can i get the list of variables which i have created in variable Overview in macro &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 19:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-macro-Function-in-BackEnd/m-p/463350#M488922</guid>
      <dc:creator />
      <dc:date>2012-11-23T19:37:24Z</dc:date>
    </item>
  </channel>
</rss>

