Sub DrawMe()
'
' DrawMe Macro
'
'
ActiveSheet.Shapes.AddConnector(msoConnectorStraight, 200.25, 62.25, 542.25, _
156).Select
Selection.ShapeRange.Line.EndArrowheadStyle = msoArrowheadTriangle
With Selection.ShapeRange.Line
.Visible = msoTrue
.ForeColor.ObjectThemeColor = msoThemeColorAccent1
.ForeColor.TintAndShade = 0
.ForeColor.Brightness = -0.25
.Transparency = 0
End With
With Selection.ShapeRange.Line
.Visible = msoTrue
.Weight = 2.25
End With
Range("J15").Select
End Sub
I just recorded this with the Macro Recorder.
Code:Sub DrawMe() ' ' DrawMe Macro ' ' ActiveSheet.Shapes.AddConnector(msoConnectorStraight, 200.25, 62.25, 542.25, _ 156).Select Selection.ShapeRange.Line.EndArrowheadStyle = msoArrowheadTriangle With Selection.ShapeRange.Line .Visible = msoTrue .ForeColor.ObjectThemeColor = msoThemeColorAccent1 .ForeColor.TintAndShade = 0 .ForeColor.Brightness = -0.25 .Transparency = 0 End With With Selection.ShapeRange.Line .Visible = msoTrue .Weight = 2.25 End With Range("J15").Select End Sub