View Single Post
 
Old 10-03-2018, 02:55 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,344
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote