Document.ColorScheme Property (Publisher)

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


expression. ColorScheme

expression A variable that represents a Document object.

Return value



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")