I need a vba macro that searches for all text that has font color as yellow within a MS Word 2007 document and changes it to red. The yellow color won\'t show in the printou
There's actually a non-programming solution for this. I've tried it in Word 97, so I'd assume Word 2007 would still allows this:
(?)
.\1
.Steps 2, 3 and 5 (entering search and replace regular expressions) may not actually be necessary.
If you definitely need VBA code, you should be able to record the above steps as a macro and then look at the generated code.