Share via


ColorScheme Property [Publisher 2003 VBA Language Reference]

Returns or sets the ColorScheme object that represents the scheme colors for the specified publication. Read/write.

expression.ColorScheme

expression Required. An expression that returns one of the objects in the Applies To list.

Example

This example displays the name of the current color scheme for the active publication.

With ActiveDocument.ColorScheme
    MsgBox "The current color scheme is " & .Name & "."
End With

This example sets the color scheme of the active publication to "Alpine."

ActiveDocument.ColorScheme _
    = Application.ColorSchemes("Alpine")

Applies to | Document Object