Share via


Chart.Resize Event (Excel)

Occurs when the chart is resized.

Syntax

expression .Resize

expression A variable that returns a Chart object.

Example

The following code example keeps the upper-left corner of the chart at the same location when the chart is resized.

Private Sub myChartClass_Resize() 
 With ActiveChart.Parent 
 .Left = 100 
 .Top = 150 
 End With 
End Sub

See Also

Concepts

Chart Object

Chart Object Members