![]() |
#2
|
|||
|
|||
![]()
Open a document in Word, select some text, and then record a macro. Click the Font Color icon on the Home tab of the Ribbon. Choose a bunch of different colors, and then stop the macro recording. You'll have the color values in the recorded macro, like this:
Code:
Sub Macro20() ' ' Macro20 Macro ' ' Selection.Font.Color = -553582593 Selection.Font.Color = -704577537 Selection.Font.Color = -553598977 Selection.Font.Color = -687800423 Selection.Font.Color = wdColorRed End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
pintree3 | Word | 8 | 03-26-2015 10:43 AM |
Make a certain font face and font color as default in a document. | Singh_Edm | Word VBA | 2 | 09-13-2014 08:47 PM |
changing the font color | dbsoccer | Project | 1 | 11-01-2013 06:21 AM |
Tab Font's color? | lostsoul62 | Excel | 0 | 02-22-2013 12:21 PM |
need help with font color | samsongee | Word | 0 | 09-07-2006 10:18 PM |