Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the color of the cell background. Read/write PjColor.
Syntax
expression. CellColor
expression A variable that represents a Cell object.
Remarks
The CellColor property can be one of the following PjColor constants:
Color Constants 1 | Color Constants 2 |
---|---|
pjColorAutomatic | pjNavy |
pjAqua | pjOlive |
pjBlack | pjPurple |
pjBlue | pjRed |
pjFuchsia | pjSilver |
pjGray | pjTeal |
pjGreen | pjYellow |
pjLime | pjWhite |
pjMaroon |
To use a hexadecimal RGB value for the cell color, see the CellColorEx 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.