Please note that in the following code arw represents arrows that are protruding from the bottom of a shape. For instances when a decision is needed, I also created a side arrow (identified as Sarw in the code). Note that for the side arrow, I specified it as a connector. I did this because I do not see that there is an adjustment on a line as there is one on the elbow connector. When I try to adjust the width of the elbow connector in my code, I am unsuccessful. I do not understand why. Any help that can be provided will be greatly appreciated. Thank you!
'This first part places arrows on the bottom of a shape
If rng.Offset(, 4).Value = " "
GoTo Line1 'I wrote this part for when VBA expects a number & gets a blank
End If
Set arw = ws2.Shapes.AddLine(BegX, BegY, EndX, EndY)
With arw
.Line.BeginArrowheadStyle = msoArrowheadTriangle
.Line.BeginArrowheadWidth = msoArrowheadWide
.Line.ForeColor.RGB = RGB(0, 0, 0)
End With
'The following part is for the side arrows
If rng.Offset(, 8).Value = " " Then
GoTo Line2
End If
Set Sarw = ws2.Shapes.AddConnector(msoConnectorElbow, SBegX, SBegY, SEndX, SEndY)
With Sarw
.Line.BeginArrowheadStyle = msoArrowheadTriangle
.Line.BeginArrowheadWidth = msoArrowheadWide
.Line.ForeColor.RGB = RGB(0, 0, 0)
.Adjustments.Item(1) = 45
End With