wfn217
Chemical
- Aug 11, 2006
- 101
I want to plot data on an Excel chart using VBA. In Quickbasic there is a "Line" statement that can be used, e.g., Line (10,10)-(20,20). Is there anything similar to this in VBA?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim c As ChartObject, L As Shape
Set c = ActiveSheet.ChartObjects(1)
Set L = c.Chart.Shapes.AddLine(88., 211., 267., 246.)