Color Property

         Example         Applies To

Returns or sets the primary color of the object, as shown in the following table. Use the RGB function to create a color value. Read/write Long.

Object Color
Border The color of the border.
Borders The color of all four borders of a range. If they're not all the same color, Color returns 0 (zero).
Font The color of the font.
Interior The cell shading color or the drawing object fill color.