A small Microsoft Word VBA macro that finds the next occurrence of text formatted with a specific blue font colour. This can be useful when documentation changes are marked up with a particular colour and you want to cycle through all changes.
- Opens the Word Document Map
- Searches for text using a specific font colour
- Starts from the current cursor position
- Continues searching from the beginning when it reaches the end, looping around.
- Download
searchBlue.basfrom this repository. - Open Microsoft Word.
- Press
Alt+F11to open the Visual Basic Editor. - Select File → Import File...
- Select
searchBlue.bas.
The macro will then appear in the VBA project.
Open the VBA editor with Alt+F11, create a new module, and paste
the contents of searchBlue.bas into it.
Run: Make a macro button for the title bar and click.