T
Theo van der Ster
Hi, I often need to determine what the character before the cursor is. For the character after the cursor, this is easy
MsgBox Selection will do it.
To return the character before the cursor, I resort to this:
Selection.MoveLeft Unit:=wdCharacter, Count:=1, Extend:=wdExtend
MsgBox Selection
This seems unnecessary cumbersome. Is there any other way?
Thanks for helping.
Best regards,
Theo van der Ster
The Netherlands
MsgBox Selection will do it.
To return the character before the cursor, I resort to this:
Selection.MoveLeft Unit:=wdCharacter, Count:=1, Extend:=wdExtend
MsgBox Selection
This seems unnecessary cumbersome. Is there any other way?
Thanks for helping.
Best regards,
Theo van der Ster
The Netherlands