Muokkaa

Jaa


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

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.