<?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: Set actions via Macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-actions-via-Macro/m-p/24535#M606538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: #575757; background: yellow; font-size: 10.0pt; font-family: 'Arial',sans-serif;"&gt;Macro Action:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: #575757; background: yellow; font-size: 10.0pt; font-family: 'Arial',sans-serif;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1519870200044519 jive_text_macro" jivemacro_uid="_1519870200044519"&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Sub Test&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; set MyText = ActiveDocument.ActiveSheet.CreateTextObject &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; set prop = MyText.GetProperties&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; set TextActions = prop.Layout.ActionItems&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; TextActions.Add&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; TextActions.Item(0).Type=13&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; set ActionParam=TextActions.Item(0).Parameters &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; ActionParam.Add&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; ActionParam.Item(0).v="Test"&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; MyText.SetProperties prop&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;End Sub&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #575757; background: yellow; font-size: 10.0pt; font-family: 'Arial',sans-serif;"&gt;Variable Action:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15198702250579352 jive_text_macro" jivemacro_uid="_15198702250579352" modifiedtitle="true"&gt;
&lt;P&gt;Sub Test&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Set MyText = ActiveDocument.ActiveSheet.CreateTextObject&lt;/P&gt;
&lt;P&gt;set prop = MyText.GetProperties&lt;/P&gt;
&lt;P&gt;set TextActions = prop.Layout.ActionItems&lt;/P&gt;
&lt;P&gt;TextActions.Add&lt;/P&gt;
&lt;P&gt;TextActions.Item(0).Type=31&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;set ActionParam=TextActions.Item(0).Parameters&lt;/P&gt;
&lt;P&gt;ActionParam.Add&lt;/P&gt;
&lt;P&gt;ActionParam.Item(0).v="Test"&lt;/P&gt;
&lt;P&gt;ActionParam.Add&lt;/P&gt;
&lt;P&gt;ActionParam.Item(1).v="0"&lt;/P&gt;
&lt;P&gt;MyText.SetProperties prop &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;End Sub&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2018 02:11:05 GMT</pubDate>
    <dc:creator>tamilarasu</dc:creator>
    <dc:date>2018-03-01T02:11:05Z</dc:date>
    <item>
      <title>Set actions via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Set-actions-via-Macro/m-p/24534#M606537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey! Via a macro i create textboxes. Now what i want to do is, to set also certain actions for this created textboxes like on click on the textbox it should set a value for a variable or run a macro. Is it possible to give the textbox such instructions? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 10:54:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-actions-via-Macro/m-p/24534#M606537</guid>
      <dc:creator>5abi0001</dc:creator>
      <dc:date>2018-02-28T10:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set actions via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Set-actions-via-Macro/m-p/24535#M606538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: #575757; background: yellow; font-size: 10.0pt; font-family: 'Arial',sans-serif;"&gt;Macro Action:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: #575757; background: yellow; font-size: 10.0pt; font-family: 'Arial',sans-serif;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1519870200044519 jive_text_macro" jivemacro_uid="_1519870200044519"&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Sub Test&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; set MyText = ActiveDocument.ActiveSheet.CreateTextObject &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; set prop = MyText.GetProperties&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; set TextActions = prop.Layout.ActionItems&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; TextActions.Add&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; TextActions.Item(0).Type=13&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; set ActionParam=TextActions.Item(0).Parameters &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; ActionParam.Add&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; ActionParam.Item(0).v="Test"&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; MyText.SetProperties prop&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;End Sub&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #575757; background: yellow; font-size: 10.0pt; font-family: 'Arial',sans-serif;"&gt;Variable Action:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15198702250579352 jive_text_macro" jivemacro_uid="_15198702250579352" modifiedtitle="true"&gt;
&lt;P&gt;Sub Test&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Set MyText = ActiveDocument.ActiveSheet.CreateTextObject&lt;/P&gt;
&lt;P&gt;set prop = MyText.GetProperties&lt;/P&gt;
&lt;P&gt;set TextActions = prop.Layout.ActionItems&lt;/P&gt;
&lt;P&gt;TextActions.Add&lt;/P&gt;
&lt;P&gt;TextActions.Item(0).Type=31&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;set ActionParam=TextActions.Item(0).Parameters&lt;/P&gt;
&lt;P&gt;ActionParam.Add&lt;/P&gt;
&lt;P&gt;ActionParam.Item(0).v="Test"&lt;/P&gt;
&lt;P&gt;ActionParam.Add&lt;/P&gt;
&lt;P&gt;ActionParam.Item(1).v="0"&lt;/P&gt;
&lt;P&gt;MyText.SetProperties prop &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;End Sub&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 02:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-actions-via-Macro/m-p/24535#M606538</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2018-03-01T02:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set actions via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Set-actions-via-Macro/m-p/24536#M606539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey! Thank you this is exact this, what im looking for. How i can add this two actions within a sub? &lt;A href="https://community.qlik.com/qlik-users/178253"&gt;tamilarasu&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 09:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-actions-via-Macro/m-p/24536#M606539</guid>
      <dc:creator>5abi0001</dc:creator>
      <dc:date>2018-03-01T09:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set actions via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Set-actions-via-Macro/m-p/24537#M606540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prince,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1519971293488361 jive_text_macro" jivemacro_uid="_1519971293488361" modifiedtitle="true"&gt;
&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Sub Test&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;set MyText = &lt;/SPAN&gt;&lt;SPAN style="color: blue; background: white; font-size: 9.0pt; font-family: Consolas;"&gt;ActiveDocument&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: black; background: white;"&gt;.ActiveSheet.CreateTextObject &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; set prop = MyText.GetProperties&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; set TextActions = prop.Layout.ActionItems&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; TextActions.Add&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; TextActions.Item(0).Type=13 &lt;BR /&gt; &lt;BR /&gt; set ActionParam=TextActions.Item(0).Parameters &lt;BR /&gt; ActionParam.Add&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; ActionParam.Item(0).v="Macro_Test"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 9.0pt; font-family: 'Courier New';"&gt;''''MyText.SetProperties prop&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; TextActions.Add&amp;nbsp; &lt;BR /&gt; TextActions.Item(1).Type=31 &lt;BR /&gt; &lt;BR /&gt; set ActionParam= TextActions.Item(1).Parameters&amp;nbsp; &lt;BR /&gt; ActionParam.Add&amp;nbsp;&amp;nbsp; &lt;BR /&gt; ActionParam.Item(0).v= "Variable_Test"&amp;nbsp; &lt;BR /&gt; ActionParam.Add&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; ActionParam.Item(1).v="0"&lt;BR /&gt; &lt;BR /&gt; MyText.SetProperties prop &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 9.0pt; font-family: 'Courier New';"&gt;End Sub&lt;/SPAN&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 05:24:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-actions-via-Macro/m-p/24537#M606540</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2018-03-02T05:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set actions via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Set-actions-via-Macro/m-p/24538#M606541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! U are the best! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 08:43:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-actions-via-Macro/m-p/24538#M606541</guid>
      <dc:creator>5abi0001</dc:creator>
      <dc:date>2018-03-02T08:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set actions via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Set-actions-via-Macro/m-p/24539#M606542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a nice day and happy weekend, Prince. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 09:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-actions-via-Macro/m-p/24539#M606542</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2018-03-02T09:12:28Z</dc:date>
    </item>
  </channel>
</rss>

