Arranging dropped shapes within a predefined area

Started by kitty123bg, February 21, 2009, 04:28:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kitty123bg

Hi
I was wondering how to go about (using VBA) arranging shapes to fit a rectangular area into which they are to be dropped. Any tips and pointers are much appreciated.
thanks in advance
kittula

Paul Herber

Have a look at the ShapeAdded event :
http://msdn.microsoft.com/en-us/library/aa214136(office.11).aspx

You can use this event to check/set the shape's X/Y coordinates.

Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/