SchemeColor Property [Publisher 2003 VBA Language Reference]
PbSchemeColorIndex
PbSchemeColorIndex can be one of these PbSchemeColorIndex constants. |
pbSchemeColorAccent1 |
pbSchemeColorAccent2 |
pbSchemeColorAccent3 |
pbSchemeColorAccent4 |
pbSchemeColorAccent5 |
pbSchemeColorFollowedHyperlink |
pbSchemeColorHyperlink |
pbSchemeColorMain |
pbSchemeColorNone |
expression.SchemeColor
expression Required. An expression that returns one of the objects in the Applies To list.
Example
The following example sets the color of the text in shape one on page one of the active publication to accent color five in the current color scheme.
ActiveDocument.Pages(1).Shapes(1).TextFrame _
.TextRange.Font.Color.SchemeColor =pbSchemeColorAccent5
Applies to | ColorFormat Object