View Single Post
 
Old 09-08-2018, 08:27 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Quote:
Originally Posted by jeffreybrown View Post
I can't figure out or actually understand how the asterisk works in the .Text statement?
You'll note that the code employs:
.MatchWildcards = True
the asterisk, when used with that, tells Word to find any content beginning with 'References' and ending with 'Abbreviations and Acronyms'. Being a wildcard Find, it's also case-sensitive, which means it won't give false matches with ranges that include either of those in any other case format.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote