title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Shape.Apply method (Excel) |
vbaxl10.chm636074 |
|
|
fe094baf-76d7-8418-aa34-c90d37f95def |
05/14/2019 |
medium |
Applies to the specified shape formatting that's been copied by using the PickUp method.
expression.Apply
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
[!includeSupport and feedback]