L
Landmine
I would like to find a method to place a chart at a specific cell location
within a worksheet. I am adding a chart using data within the spreadsheet
and need to place the chart next to the data. I can't seem to find a method.
The code I am using to add the sheet is as follows and I would like to place
the top left hand corner in cell J2.
Thanks
BLandmine
sName = ActiveSheet.Name
Set sh = ActiveSheet
Charts.Add
ActiveChart.ChartType = xlColumnClustered
ActiveChart.SetSourceData Source:=sh.Range("B3:C12"), _
PlotBy:=xlColumns
ActiveChart.Location Where:=xlLocationAsObject, Name:=sName
ActiveChart.HasLegend = False
within a worksheet. I am adding a chart using data within the spreadsheet
and need to place the chart next to the data. I can't seem to find a method.
The code I am using to add the sheet is as follows and I would like to place
the top left hand corner in cell J2.
Thanks
BLandmine
sName = ActiveSheet.Name
Set sh = ActiveSheet
Charts.Add
ActiveChart.ChartType = xlColumnClustered
ActiveChart.SetSourceData Source:=sh.Range("B3:C12"), _
PlotBy:=xlColumns
ActiveChart.Location Where:=xlLocationAsObject, Name:=sName
ActiveChart.HasLegend = False