View Single Post
 
Old 06-05-2015, 10:38 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,471
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

You can't use '.MatchWholeWord = True' when you're also using 'MatchWildcards:=True'; the latter overrides the former. You need to either:
(a) set 'MatchWildcards:=False'; or
(b) delete '.MatchWholeWord = True' and enclose each of the find expressions in a pair of chevrons (e.g. <I>).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote