View Single Post
 
Old 06-02-2017, 01:51 AM
WimpievS WimpievS is offline Windows 10 Office 2016
Novice
 
Join Date: Jun 2017
Posts: 1
WimpievS is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
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.
Hi,
I've been reading to find a solution to a problem. Your macro looks awesome, but I get a run time error. If you can help I will be very grateful!
I have a document with a lot of abbreviations after the full words, e.g. Microsoft (MS) and I'm trying to get a macro to populate a list with the acronym MS and then Microsoft, because after using Microsoft the first time I just use MS throughout the rest of the document. I found an awesome macro, but it works the other way around.
Can you help please?
Reply With Quote