Glue and 2d shapes

D

dave

Hi All
I'm trying to combine several 2d shapes and need some help with glueing
'stuff' together.
My example is the abutting side of two retangles
How would I glue these side together using VBA?

Dave
 
J

junethesecond

One of the ways may be done with connection points.
Each of Rectangle1 and 2 have a connection point.
If type of connectionpoint of rec. 1 is inward and rec. 2 is outword,
glueto method may glue rec. 2 to rec. 1, with VBA macro, like...
Set vsoCell1 = ActivePage.Shapes(1).CellsSRC(visSectionConnectionPts,
0, 0)
Set vsoCell2 = ActivePage.Shapes(2).CellsSRC(visSectionConnectionPts,
0, 0)
vsoCell2.GlueTo vsoCell1
 

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