2 Replies Latest reply: Apr 23, 2010 4:07 AM by koberlechner RSS

    Select multiple values from a Field



      I want to write a Marco using VBScript. Upon event rising, the macro should select certain values from the related field. In my case, I have a field with values ranging from 0 to 6. If the user clicks the button, values from 4-6 should be selected.

      Something like:


      sub MYBUTTON
      set f = ActiveDocument.GetField ("MYFIELD")
      f.select (4 to 6)
      end sub


      Thanks in advance,