1 Reply Latest reply: Apr 17, 2014 8:37 AM by Gysbert Wassenaar RSS

    Removing fields - Multibox

      Hello,

       

      Is it possible via a macro to delete all the fields via a VB macro?

       

      I used the following script:

      SUB ResetInputField

        set obj = ActiveDocument.GetSheetObject("MB06")

       

                for i =0 to 1000

        obj.RemoveField i

        next

      END SUB

       

      My concern is to set the max. I can't get the number of the last line completed in the multibox.

       

      Do you have any ideas?

       

      Thanks