Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 895 Bytes

Excel.ShapeRange.Apply.md

File metadata and controls

45 lines (28 loc) · 895 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ShapeRange.Apply method (Excel)
vbaxl10.chm640078
vbaxl10.chm640078
Excel.ShapeRange.Apply
34acef44-7075-ffc1-199c-3396e17caafe
01/18/2022
medium

ShapeRange.Apply method (Excel)

Applies to the specified shape formatting that's been copied by using the PickUp method.

Syntax

expression.Apply

expression A variable that represents a ShapeRange object.

Example

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

See also

ShapeRange Object

[!includeSupport and feedback]