GroupCriterion.FontColor property (Project)

Gets or sets the color of the font for a field used as a criterion in a group definition. Read/write PjColor.

Syntax

expression. FontColor

expression A variable that represents a GroupCriterion object.

Remarks

The FontColor property can be one of the following PjColor constants:

FontColor FontColor Continued
pjColorAutomatic pjNavy
pjAqua pjOlive
pjBlack pjPurple
pjBlue pjRed
pjFuchsia pjSilver
pjGray pjTeal
pjGreen pjYellow
pjLime pjWhite
pjMaroon

To use a hexadecimal RGB value, see the FontColorEx property of the GroupCriterion2 object.

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.