Shape.PickUp Method (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Copies the formatting of the specified shape. Use the Apply method to apply the copied formatting to another shape.

expression .PickUp

expression A variable that represents a Shape object.

This example copies the formatting of shape one on myDocument and then applies the copied formatting to shape two.

Set myDocument = Worksheets(1) 
With myDocument 
 .Shapes(1).PickUp 
 .Shapes(2).Apply 
End With

Concepts

Other resources

Show: