Hello,
I'm trying to add a chart using vba. I want P2:P603 to be the x values and L2:L603 to be the y values.
This is what I wrote:
Charts.Add
ActiveChart.ChartType = xlXYScatterLines
ActiveChart.SetSourceData Source:=Sheets("Sheet1").Range("P2:P603,L2:L603")
What am i doing wrong?
Thank you
Bookmarks