0 Replies Latest reply: Apr 19, 2012 5:38 PM by Anirban Mukherjee RSS

    Converting a Macro function to normal script

      Hi All,

       

      I have a Macro as follows:

       

       

      Sub(move)

       

      set ListBox = ActiveDocument.GetSheetObject("CH15")

       

       

      ActiveDocument.Variables("tutan").SetContent cell.text, true

      Set cell = listBox.GetCell(2,9)

       

      This macro moves the value from the cell(2,9) of a straight table and assigns the same to the variable "tutan".

       

      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?

       

      Please help.

       

      Best Regards,

      Tutan