Working with arrows

M

Murat

Hello,

I want to replace one way arrow shapes to two way arrow shape when two boxes
are connected with each other with one way arrows.

How can I do that?


Thank you
 
D

David Parker

Do you want to do this manually or right code to do it?
If manually, then simply change the line ends (Format / Line )
 
J

JuneTheSecond

And if automatically, then use ConnectionAdded events, for example:
Private Sub myPage_ConnectionsAdded(ByVal Connects As IVConnects)
Set myShape = ActivePage.Shapes(Connects.FromSheet.Index)
If myShape.Cells("BeginX").Formula Like "PAR(PNT(*" Then
myShape.Cells("BeginArrow").FormulaU = "13"
End If
If myShape.Cells("EndX").Formula Like "PAR(PNT(*" Then
myShape.Cells("EndArrow").FormulaU = "13"
End If
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top