If you know the color you want, but you do not know which is its code, simply :
1.Paint text with the color you want,
2.Select the painted text'
3.And, run the following macro.
Sub color_code()
Msgbox Selection.Font.color
End Sub
A Message Box will appear on your screen with the code of the required color.
No comments:
Post a Comment