View Single Post
 
Old 10-30-2022, 02:13 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,469
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 jabanks View Post
The reason why I wanted to limit the string length is that the Find would find items in brackets that were not acronyms e.g. (Document 12345678).
I can't see how that is possible, since the Find expression in the code I posted excludes strings with spaces in them. Moreover, the alpha part of any such string must be all upper-case. Your (Document 12345678) example violates both criteria.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote