Run Macro Behavior Problem

P

Piper

I have a Visio 2003 drawing with multiple hyperlinks to a second Visio
drawing. In order to make certain that the user closes the second drawing
without inadvertantly closing the first, I've created a "ThisDocument.Close"
macro to close the second drawing.

The macro runs fine from the Tools window, but when I assign it to a shape
using the Behavior function I get an error message:

run-time error '-2032465766 (86db089a)'
Requested operation is presently disabled

Any suggestions?
 
M

Michel LAPLANE

Are you sure that the VBA code that is running is not trying to close the
current document where the macro is running?
If yes the error is normal.
 

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