8 Replies Latest reply: Apr 14, 2014 8:15 AM by Michael Solomovich RSS

    ActiveDocument.GetSheetObject("CH01") and read the fields

    gou geo



      How can i read the values of a field of a sheet object in a vbscript module ?


      sub test


      SET Doc = ActiveDocument.GetSheetObject("CH01")

      set Field = Doc.Fields("STORE_ID").GetPossibleValues


      FOR i=0 to Field.Count -1


      Doc.Fields("STORE_ID").SELECT Field.Item(i).Text






      end sub


      This script does not work.

      Can anyone help me ?


      Thank you in advance.