Cell.FontColor property (Project)

Gets or sets the color of the font. Read/write PjColor.

Syntax

expression. FontColor

expression A variable that represents a Cell 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.

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.