ShapeRange.SetShapesDefaultProperties Method
Excel Developer Reference |
Makes the formatting of the specified shape the default formatting for the shape.
Syntax
expression.SetShapesDefaultProperties
expression A variable that represents a ShapeRange object.
Example
This example adds a rectangle to myDocument
, formats the rectangle's fill, sets the rectangle's formatting as the default shape formatting, and then adds another smaller rectangle to the document. The second rectangle has the same fill as the first one.
Visual Basic for Applications |
---|
|
See Also