<?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: Create an Input Box (VBA) for Variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-an-Input-Box-VBA-for-Variables/m-p/586793#M217715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use QV inputbox object as Michael mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define variables and link them to input boxes&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Variable.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/54042_Variable.jpg" style="width: 620px; height: 312px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Feb 2014 16:23:36 GMT</pubDate>
    <dc:creator>chiru_thota</dc:creator>
    <dc:date>2014-02-28T16:23:36Z</dc:date>
    <item>
      <title>Create an Input Box (VBA) for Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-an-Input-Box-VBA-for-Variables/m-p/586791#M217713</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 have 10 variables, where I want the user to change the value in these variables based on certain criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could just have something like this where the user could just change it.But I find it awkward to add the qty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014-02-28_1600.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/54044_2014-02-28_1600.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have an input box something like the image below, and that would populate the variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014-02-28_1606.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/54045_2014-02-28_1606.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 16:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-an-Input-Box-VBA-for-Variables/m-p/586791#M217713</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-02-28T16:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Input Box (VBA) for Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-an-Input-Box-VBA-for-Variables/m-p/586792#M217714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alan,&lt;/P&gt;&lt;P&gt;I'm probably missing something - but why don't you use the regular QV input box object?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 16:14:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-an-Input-Box-VBA-for-Variables/m-p/586792#M217714</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-28T16:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Input Box (VBA) for Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-an-Input-Box-VBA-for-Variables/m-p/586793#M217715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use QV inputbox object as Michael mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define variables and link them to input boxes&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Variable.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/54042_Variable.jpg" style="width: 620px; height: 312px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 16:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-an-Input-Box-VBA-for-Variables/m-p/586793#M217715</guid>
      <dc:creator>chiru_thota</dc:creator>
      <dc:date>2014-02-28T16:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Input Box (VBA) for Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-an-Input-Box-VBA-for-Variables/m-p/586794#M217716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't like it, it can be quite cumbersome&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I think I have a solution I got from the API guide&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here it is, I have a variable called input.picking.ops&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I added this to the Edit Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUB inputpickingops&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oldtext = ActiveDocument.Evaluate("input.picking.ops")&lt;/P&gt;&lt;P&gt;t = ActiveDocument.GetApplication.InputBoxEx("Enter New Variable Value for input.picking.ops :",oldtext)&lt;/P&gt;&lt;P&gt;ActiveDocument.Variables("input.picking.ops").SetContent t,true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END SUB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014-02-28_1625.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/54047_2014-02-28_1625.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 16:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-an-Input-Box-VBA-for-Variables/m-p/586794#M217716</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-02-28T16:27:07Z</dc:date>
    </item>
  </channel>
</rss>

