2 Replies Latest reply: Mar 16, 2012 5:11 PM by James Shenton RSS

    Using GetSelectedCount in a macro

    James Shenton

      Hello

       

      Can someone tell me what I'm doing wrong? I want to use GetSelectedCount in a macro but can't quite manage it. I can use it in an expression in a document without problem, but the macro solution is eluding me.

       

      I've tried these two, neither of which work.

       

      v=ActiveDocument.Fields("Field1").GetSelectedCount

      v=ActiveDocument.GetSelectedCount("Field1")

       

      For reference, the expression that works in a doc is: =GetSelectedCount([Field1])

       

      With thanks

      James