Forum Discussion
Philipp Oksche
Feb 19, 2018Copper Contributor
Word 2016 - automatically highlight list of words
Hello, everyone,
I would like to get rid of the following questions:
In Word 2016, is it possible to store a list of words, which are then automatically color-coded by Word? Functionality wou...
Jay Freedman
Apr 18, 2018Brass Contributor
The "automatic" part of this request could be accomplished -- only for text you will type later -- by creating a formatted AutoCorrect entry for each word. For this example, you could type Umsatz in a document, color it red and leave it selected, go to File > Options > Proofing > AutoCorrect Options, type Umsatz in the Replace box, click the Formatted option button, and click OK. Now, when you type Umsatz in any other place and press the spacebar, it will be replaced by the red version.
However, this won't work for existing text, because AutoCorrect is triggered only by typing a space or punctuation after the entry's "name". To work with that situation, you need a macro that iterates through a list of words (perhaps in a text file or an Excel worksheet) and does a Replace All to change the color of each occurrence in the current document. You can get an add-in that does this from https://gregmaxey.com/word_tip_pages/vba_find_and_replace.html.