title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Chart.Resize event (Excel) |
vbaxl10.chm500075 |
|
|
d1b7d0bb-d190-18f2-83f9-b91b637d80aa |
04/16/2019 |
medium |
Occurs when the chart is resized.
expression.Resize
expression A variable that returns a Chart object.
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
[!includeSupport and feedback]