Thanks for your Feedback, Wapperdude.
"20%"
Thanks, fixed in my code above.
Begin/EndArrow
Never seen that in my diagrams, but I was able to reproduce.
I wonder if there could be any reason, where a value <>0 is desired for a 2D shape.
"On error resume next"
I had the same problem with some diagrams, but I used
.FormulaForceMaybe "On error resume next" is better for most cases.
Good idea to distinguish between 1D and 2D shapes.
I think best results would give to adapt the parameters by line length. See attached example.