Use Sendkeys to send an enter key to close the dialog. Google for
"Visio Sendkeys".
--
Regards, Paul Herber, Sandrila Ltd.
Visio Utilities http://www.visio-utilities.sandrila.co.uk/
Take a look at "Preventing Alerts and Dialog Boxes in Visio"
http://msdn.microsoft.com/en-us/library/aa140363(office.10).aspx
John... Visio MVP
You can preset a canned response if you know that a certain dialog will
appear, and you want, for example "Yes" to be pushed automatically.
It is important to reset this property as soon as possible so that you
don't get caught in bad loops like "Really Close Visio? -- NO", which
would make it hard for you to shut Visio down!
--
Hope this helps,
Chris Roth
Visio MVP
Visio Guy: Smart Graphics for Visual People
Articles: http://www.visguy.com
Shapes: http://www.visguy.com/shapes
Dev: http://www.visguy.com/category/development/
Forum: http://www.viguy.com/vgforum