Partager via


Shape.Apply Method (Word)

Applies to the specified shape formatting that has been copied using the PickUp method.

Syntax

expression .Apply

expression Required. A variable that represents a Shape object.

Remarks

If formatting for the Shape object has not previously been copied using the PickUp method, using the Apply method generates an error.

Example

This example copies the formatting of shape one on the active document and applies the copied formatting to shape two on the same document.

With ActiveDocument 
 .Shapes(1).PickUp 
 .Shapes(2).Apply 
End With

See Also

Concepts

Shape Object

Shape Object Members