J
Joanne
I would like the cursor to move left and highlight any
text as long as that text is not a letter. For instance,
if there's a space or a semi colon, I want them to be
highlighted. I am going to delete all highlighted text.
However, when I run the following code, it only highlights
two characters and then stops. Any help would be
appreciated.
While .Text Like "[!A-z]"
.MoveLeft Unit:=wdCharacter, Extend:=wdExtend
Wend
text as long as that text is not a letter. For instance,
if there's a space or a semi colon, I want them to be
highlighted. I am going to delete all highlighted text.
However, when I run the following code, it only highlights
two characters and then stops. Any help would be
appreciated.
While .Text Like "[!A-z]"
.MoveLeft Unit:=wdCharacter, Extend:=wdExtend
Wend