G
gvm
I created a chart, used ActiveChart.Parent.Name = "MyChart" to give it a name
and then wrote the following code to situate it with its top left corner on
cell C3 but I get a runtime error to the effect "an object is required".
Dim ChtObj As ChartObject
Set ChtObj = MyChart
ChtObj.Top = Range("C3").Top
ChtObj.Left = Range("C3").Left
Pretty basic problem but can someone set me straight please, TIA .. Greg
and then wrote the following code to situate it with its top left corner on
cell C3 but I get a runtime error to the effect "an object is required".
Dim ChtObj As ChartObject
Set ChtObj = MyChart
ChtObj.Top = Range("C3").Top
ChtObj.Left = Range("C3").Left
Pretty basic problem but can someone set me straight please, TIA .. Greg