Muokkaa

Jaa


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

Shape Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.