![]() |
|
#1
|
|||
|
|||
![]()
Thanks Paul.
I made these changes and added one more search possibility, as we may have a few characters between the capital letters in the acronmys, to do so I duplicated the code. Would you say there is a better way to do that? I'm having the trouble of duplicates being listed in the table if they appear more than once in the text between parenthesis as well, would you know how to clear duplicates in word tables? Thank you for your support so far and in advance if you take the time to support on these questions. |
#2
|
||||
|
||||
![]() Quote:
The appropriate way is to fix the document - you shouldn't have the same acronym in parentheses in multiple locations.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
Thanks for the quick reply, Paul.
Quote:
I tried achieving that with the search: Code:
.Text = "\(<([A-Z]{1,})?([A-Z]{1,})>\)" That worked! Thanks a lot. |
#4
|
||||
|
||||
![]() Quote:
.Text = "\([A-Z0-9][!\) ]@[A-Z0-9]\)"
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
![]()
Thanks, Paul. The only problem with that is that it doesn't find the acronyms with 2 uppercase letters only.
Even though it is not the best approach, the double verification is working, so I will stick to that. Thank you for your support! |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
daithy | Word | 4 | 03-12-2020 01:52 PM |
Data Validation in Microsoft Word Template | BradleyCase | Word VBA | 1 | 07-16-2019 12:37 PM |
Adding Professional Credential Abbreviations to Name | dyny723 | Outlook | 0 | 03-16-2018 07:14 AM |
![]() |
dylansmith | Office | 1 | 02-11-2018 12:58 PM |
validation email address in word text filed | sameerahmad_P | Word VBA | 1 | 03-07-2014 02:59 PM |