<?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 Converting a Macro function to normal script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Converting-a-Macro-function-to-normal-script/m-p/360542#M1175076</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 a Macro as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub(move)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set ListBox = ActiveDocument.GetSheetObject("CH15")&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.Variables("tutan").SetContent cell.text, true &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set cell = listBox.GetCell(2,9) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This macro moves the value from the cell(2,9) of a straight table and assigns the same to the variable "tutan".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This macro is enabled using a button activity. The requirement of this button is no more there and the new requirement is to automatically assign the value to the variable tutan using normal load script. Can this be done? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tutan&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2012 21:38:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-19T21:38:55Z</dc:date>
    <item>
      <title>Converting a Macro function to normal script</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-a-Macro-function-to-normal-script/m-p/360542#M1175076</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 a Macro as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub(move)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set ListBox = ActiveDocument.GetSheetObject("CH15")&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.Variables("tutan").SetContent cell.text, true &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set cell = listBox.GetCell(2,9) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This macro moves the value from the cell(2,9) of a straight table and assigns the same to the variable "tutan".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This macro is enabled using a button activity. The requirement of this button is no more there and the new requirement is to automatically assign the value to the variable tutan using normal load script. Can this be done? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tutan&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 21:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-a-Macro-function-to-normal-script/m-p/360542#M1175076</guid>
      <dc:creator />
      <dc:date>2012-04-19T21:38:55Z</dc:date>
    </item>
  </channel>
</rss>

