Hi,
try this sample
add two lines Line-1, Line-2 (red-green color)
pic1

vba macro
Sub AddChart_LineMarkers()
'May 24, 2017
Const xAxis1 As String = "A2:A10" '<< labels-dates /primary x-axis
Dim ws As Worksheet
Set ws = Sheets("Sheet1") 'source sheet name
Dim N As Integer
N = ws.Range("A2:A10").Rows.Count
Set cel = ws.Range("E2") ' << add chart /top left cell location
'delete old chart from cell E2 (top left cell property)
For Each s In ws.Shapes
If Not Intersect(s.TopLeftCell, cel) Is Nothing Then s.Delete
Next
Dim obj As ChartObject
Set obj = ws.ChartObjects.Add(cel.Left, cel.Top, cel.Resize(, 10).Width, cel.Resize(20).Height)
Dim c As Chart
Set c = obj.Chart
'
With c.SeriesCollection.NewSeries'series1
.ChartType = xlLineMarkers
.Name = ws.Range("B1")
.Values = ws.Range("B2:B10")
.XValues = ws.Range(xAxis1)
.Format.Line.ForeColor.RGB = vbRed
For x = 1 To N
With .Points(x)
.HasDataLabel = True
.ApplyDataLabels Type:=xlValue
.DataLabel.Font.Size = 11
.DataLabel.Font.Color = vbRed
.Format.Fill.ForeColor.RGB = vbRed
End With
Next
End With
'
With c.SeriesCollection.NewSeries'series2
.ChartType = xlLineMarkers
.Name = ws.Range("C1")
.Values = ws.Range("C2:C10")
.XValues = ws.Range(xAxis1)
.Format.Line.ForeColor.RGB = vbGreen
For x = 1 To N
With .Points(x)
.HasDataLabel = True
.ApplyDataLabels Type:=xlValue
.DataLabel.Font.Size = 11
.DataLabel.Font.Color = vbGreen
.Format.Fill.ForeColor.RGB = vbGreen
End With
Next
End With
'
With c
'set titles in x/y axes
.Axes(xlCategory).HasTitle = True
.Axes(xlCategory).AxisTitle.Text = "X-AXIS NAME"
.Axes(xlValue).HasTitle = True
.Axes(xlValue).AxisTitle.Text = "Y-AXIS NAME"
'set legend
.SetElement (msoElementLegendBottom)
'format chart-plot area
.ChartArea.Interior.Color = RGB(240, 255, 255)
.PlotArea.Interior.Color = RGB(240, 255, 255)
End With
End Sub