News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

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/

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 161 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1056KB.
Tokens: post-login.
Cache hits: 13: 0.00169s for 26,720 bytes (show)
Cache misses: 3: (show)
Queries used: 17.

[Show Queries]