Background Property
The Background property is used to set the text background color. Returns the AutoFill object. This is a read-only property.
Syntax
object.Background
object.Background =Background
Example
The following example shows how to set the background color of text. Notice that you need to set a fill pattern before setting the color.
Text1.Background.Fill.PatternName = "Solid"
Text1.Background.foreColor = grfColorGreen
Used by: AutoAxisTitle object, AutoGraphTitle object, AutoMText object, AutoPieChartTitle object, AutoScaleTitle object