5 Replies Latest reply: Aug 27, 2010 10:25 AM by Kulbir Singh RSS

    Simple Macro Code

    Shumail Hussain

      Can anyone please help on the below function, I am trying to select the value U and V on the sheet activation but it's not working with the below code... [:s]

      sub MakeSelection()
      ActiveDocument.Fields("BLOCKCODE1").Select 'U','V'
      ActiveDocument.Fields("BLOCKCODE2").Select 'U','V'
      ActiveDocument.Fields("BLOCKCODE3").Select 'U','V'
      end sub

       

      Regards,
      Shumail Hussain