![]() |
|
#3
|
|||
|
|||
|
A note about an intellisense annoyance. The property 'color' no longer appears in the list of properties but is valid if you actually type it in.
You can get to the hex definition of a color by looking at the values of the various items in the wdColor enumeration (View.Object Browser then type wdColor in the search box) e.g. wdColorBlue has the hex value &HFF0000. Note wdColorBlue is not the same as wdBlue as wdBlue is defined in the wdColorIndex enumeration and has the value 2. Also note that the hex value &HFF0000 is in the format &HBBGGRR So the RGB for wdColorBlue is RGB(&H00, &H00, &HFF) |
| Tags |
| macro, vba |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
VBA combination drop down macro - changing colors
|
runke1tj | Word VBA | 2 | 04-27-2017 07:55 AM |
Help with macro to set font colors
|
Jennifer Murphy | Word VBA | 1 | 09-29-2013 09:57 PM |
| Replacing texts | aslamyahya | Excel Programming | 1 | 02-27-2013 10:38 PM |
| Macro for replacing, copying and undoing. | vthomeschoolmom | Word VBA | 1 | 12-05-2012 07:41 AM |
Unable to change font colors from theme colors
|
choy | Word | 3 | 08-01-2012 09:12 PM |