Word XP

  • Thread starter Thread starter n6trf
  • Start date Start date
N

n6trf

How do I select next word when in a macro. I have positioned myself to the
start of a word and need to select it so I can do a find.
 
Selection.Expand wdWord

will select a word when the cursor is at the beginning of it. I am not
sure, however, how you think this will help with a Find.
 
If you have positioned the cursor to the left of the word, then a simple
Ctrl+Shft+Right arrow will select the next word. You can then create a macro
to search for the selected Word which you may find easier.
 
Back
Top