ShapeRange.Fill Property
Excel Developer Reference |
Returns a FillFormat object for a specified shape or a ChartFillFormat object for a specified chart that contains fill formatting properties for the shape or chart. Read-only.
Syntax
expression.Fill
expression A variable that represents a ShapeRange object.
Example
This example adds a rectangle to myDocument
and then sets the foreground color, background color, and gradient for the rectangle's fill.
Visual Basic for Applications |
---|
|
See Also