7 Replies Latest reply: Aug 11, 2015 7:34 AM by Ruben Marin RSS

    Macro script: Count current selected values in field

    Taylor Mcgrath

      I'm currently using a macro with an if statement that goes like this:


      if ActiveDocument.Fields("%VIEW_NAME").GetSelectedValues.count > 0 then



      end if


      Yet, when the macro is triggered, the above fields are not locking. Any insights??