You don't really need a macro for this. You can use the replace function CTRL+H to replace the word and format it.
If you have several different words to format, you could use the Find and replace (with table defined formatting) option in
https:// www. gmayor. com/document_batch_processes.htm to process them all sequentially.