The correct way to encode such a macro (if one is needed at all) depends on what you mean by "select a line that contains a specific word", which is different from your thread title that mentions sentences. Do those lines constitute an entire paragraph? Alternatively, are the lines terminated by manual line breaks? Do you want both ends of the 'line' included? Then there is the question of what you actually want to do with these lines?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|