共用方式為


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

請參閱

概念

Chart Object

Chart Object Members