AddChartObject Method (Worksheet)
In This Topic
Add empty chart object to current worksheet.
Syntax
'Declaration
Protected Function AddChartObject( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer _
) As ChartObject
'Usage
Dim instance As Worksheet
Dim x As Integer
Dim y As Integer
Dim width As Integer
Dim height As Integer
Dim value As ChartObject
value = instance.AddChartObject(x, y, width, height)
protected ChartObject AddChartObject(
int ,
int ,
int ,
int
)
Parameters
- x
- y
- width
- height
See Also