Application.GetThemedColor method (Project)

Returns the color of the specified theme element type in the Project Guide. Deprecated in Project.

Syntax

expression. GetThemedColor( _elementType_ )

expression An expression that returns an Application object.

Parameters

Name Required/Optional Data type Description
elementType Required Long A valid theme element type. Can be one of the constants in the PjThemeElement enumeration.

Return value

Long

Remarks

Note

The Project Guide is disabled by default in Project. Although you can create and display custom Project Guide pages, we recommend that you create a task pane app instead of the Project Guide for new development.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.