I use the following macro to extract acronyms from various documents.
https://www.msofficeforums.com/word/...-acronyms.html
I'd like to expand the macro so that it captures the text before and after the discovered acronym and pastes it into the document following the page number. The documents I work with do not follow any standard convention on how acronyms are defined, such as within parenthesis with the definition immediately preceding. So I'd just like to capture a range of text before and after the acronym. It could be 'n' sentences before and after (as defined by periods) or simply a variable for 'n' characters before and after. I'm not particular. Sentences would be nice, but characters is fine if it is easier to code.
I'm not a coder, so I'd need someone to provide me the code to use.
Any help will be greatly appreciated.
Thanks in advance,
Andrew