L
Larry
Whenever I want to select just a word and retract the selection from any
punctuation or spaces after the word, I need something like this:
Selection.MoveEndWhile cset:=",.!?""", Count:=wdBackward
Is there any all-purpose statement that does this directly, without the
user having to specify the punctuation? What I'm talking about would be
sort of the equivalent of the Trim function, only a Trim function that
would work directly on a selection in a document. It would be neat if
there was such a thing.
Thanks,
Larry
punctuation or spaces after the word, I need something like this:
Selection.MoveEndWhile cset:=",.!?""", Count:=wdBackward
Is there any all-purpose statement that does this directly, without the
user having to specify the punctuation? What I'm talking about would be
sort of the equivalent of the Trim function, only a Trim function that
would work directly on a selection in a document. It would be neat if
there was such a thing.
Thanks,
Larry