W
Wynn
I wrote this simple working macro, but when I try to use it on certain
documents already created it isnt working. I have tried a number of
different experiments (like pasting the text into new word docs or purging
format in notepad then resetting the font color), but it will not change the
color of the text in these documents. The macro works fine in new docs that
I create - am I missing something?
Sub BlueColorChange()
'
' Macro to change standard blues to specific gradients
Selection.WholeStory
If Selection.Font.Color = RGB(0, 0, 128) Then
Selection.Font.Color = RGB(0, 45, 98)
End If
End Sub
documents already created it isnt working. I have tried a number of
different experiments (like pasting the text into new word docs or purging
format in notepad then resetting the font color), but it will not change the
color of the text in these documents. The macro works fine in new docs that
I create - am I missing something?
Sub BlueColorChange()
'
' Macro to change standard blues to specific gradients
Selection.WholeStory
If Selection.Font.Color = RGB(0, 0, 128) Then
Selection.Font.Color = RGB(0, 45, 98)
End If
End Sub