|Excel Developer Reference|
A shape can have a solid, gradient, texture, pattern, picture, or semi-transparent fill.
Many of the properties of the FillFormat object are read-only. To set one of these properties, you have to apply the corresponding method.
Use the Fill property to return a FillFormat object. The following example adds a rectangle to myDocument and then sets the gradient and color for the rectangle's fill.
|Visual Basic for Applications|