View Single Post
 
Old 04-05-2021, 03:02 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,343
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

For what you've described, you could use:
.Execute Replace:=wdReplaceOne
instead of:
.Execute Replace:=wdReplaceAll
and:
.Wrap = wdFindStop
instead of:
.Wrap = wdFindContinue

Beyond that, you could apply an InRange test. See: https://www.msofficeforums.com/151477-post6.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote