![]() |
|
|
Thread Tools | Display Modes |
#11
|
||||
|
||||
![]()
Try the attached document. It contains both an acronym/abbreviation list (that you can edit) and a macro (AcronymManager) to process any acronyms/abbreviations in whatever is the active document. The basic requirement for list management is that each entry be a separate paragraph, with the full expression listed first, followed by a tab then the acronym/abbreviation. Of course, you also can't have two entries with the same acronym/abbreviation.
The code includes comments to show how a separate document might be used for the acronym/abbreviation list instead of the one in the attachment. That might be useful if you were to add the macro to Word's Normal template. How it works: Basically, the macro uses a loop to call a series of Find/Replace operations to edit the text in the target document, replacing all occurrences of a given expression and its acronym/abbreviation with just the acronym/abbreviation and, for the first occurrence only, both the full expression and the acronym/abbreviation, the latter enclosed in brackets.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding All Non-spelling Words in a Paragraph to Dictionary | SQLUSA | Word | 5 | 07-13-2012 04:05 AM |
Why Words doesn’t show the style of the selected words automatically???? | Jamal NUMAN | Word | 0 | 04-14-2011 03:20 PM |
How to take the tick out of Spelling in GPO? | Swarv | Word | 0 | 09-29-2010 02:16 AM |
Automating an address from an Abbreviation | Panzer | Word | 0 | 04-12-2010 06:11 AM |
UK spelling on emails | matthew.canwell | Outlook | 0 | 06-19-2009 06:34 AM |