R
Rui Álvares
Hi,
I have the code shown below, that creates a chart based in the data present
in sheet "Sheet_1":
Charts.Add
ActiveChart.ChartType = xlXYScatterLinesNoMarkers
ActiveChart.SetSourceData Source:= _
Sheets("Sheet_1").Range("A1:B382"), PlotBy:=xlColumns
ActiveChart.Location Where:=xlLocationAsObject, Name:="Grafics"
With ActiveChart
I have the code shown below, that creates a chart based in the data present
in sheet "Sheet_1":
Charts.Add
ActiveChart.ChartType = xlXYScatterLinesNoMarkers
ActiveChart.SetSourceData Source:= _
Sheets("Sheet_1").Range("A1:B382"), PlotBy:=xlColumns
ActiveChart.Location Where:=xlLocationAsObject, Name:="Grafics"
With ActiveChart