N n6trf Jan 7, 2008 #1 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.
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.
T Tony Jollans Jan 7, 2008 #2 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.
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.
T Terry Farrell Jan 7, 2008 #3 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.
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.