The BackColor property returns or sets the background color. Returns a MVColor.
Syntax
object.BackColor
object.BackColor = Color
Parameter |
Type |
Description |
Color |
required; color, see remarks |
Remarks
Use the enumeration [ mvColorRed], RGB value [RGB(255,0,0)], or number [255] to set a color. A non-solid pattern must be selected for the color to show. Use ForeColor with a solid pattern.
When using BackColor with text (FillFormat object), set the Background Property to true to make the color show.
Example
This example demonstrates how to change the background color of a color fill to red.
FillFormat.BackColor = mvColorRed
Example 2
This example demonstrates how to return the background color of a color fill.
Debug.Print FillFormat.BackColor
Used by: FillFormat object, FontFormat object