Table of contents
Collapse the table of content
Expand the table of content

Document.ColorScheme Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
3 Contributors

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")
© 2018 Microsoft