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 printouts. Manually selecting and changing will take me hours.
Select the text that you want to change. On the Home tab, in the Font group, choose the arrow next to Font Color, and then select a color.
To change multiple shapes or text boxes, click the first shape or text box, and then press and hold Ctrl while you click the other shapes or text boxes. On the Drawing Tools Format tab, click Text Fill and, under Theme Colors, pick the color you want.
Go to Format > Font > Font. + D to open the Font dialog box. Select the arrow next to Font color, and then choose a color. Select Default and then select Yes to apply the change to all new documents based on the template.
Following on from stakx’s Word 97 solution, here’s what works in Word 2010:
You can determine the original colour as follows:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With