You need to assign a series to an axis, then assign an axis to the pane.
Series 0 -> YAxis_Main ' 0 Series 1 -> YAxis_Secondary ' 1 Series 2 -> 3 ' All Extra Axis start from 3, as 2 is reserved
Try this, it works for me and you should get series 0 in the first pane, series 1 in the seocnd pane and series 2 in the third pane.
With Chart1.Series(0) .Gallery = Gallery_Lines .Border = True .YAxis = YAxis_Main End With Chart1.AxisY.Pane = 0 With Chart1.Series(1) .Gallery = Gallery_Lines .LineWidth = 2 .MarkerShape = MarkerShape_None .YAxis = YAxis_Secondary End With Chart1.AxisY2.Pane = 1 With Chart1.Series(2) .Gallery = Gallery_Lines .Border = True .YAxis = 3 ' YAxis_Main = 0, YAxis_Secondary = 1, 2 is reserved for XAxis, extra axis start from 3 End With Chart1.axis(3).Pane = 2