DocumentOpend event doesn't fire

S

Stefan@Deere

I designed a Visio file and added some macros to it. Among other things I
added some code to the DocumentOpened event procedure. I designed the file in
Vision 2000 on a machine with Windows 2000. My problem is, I wanted to open
the file in Visio 2000 on a machine with Windows XP but the DocumentOpened
event didn't fire. I don't think the problem is due to the operating system,
maybe I have to change some attributes in Visio.
Does anybody has a clue what's going on?
 
J

junethesecond

Might be one of optional settings.
A check box ,"Enable automation events",
in menu "Option/Security", is turned on?
The name may not be correct, as i
translated from asian language.
 
S

Stefan@Deere

Hi;
thank's for your answer but unfortunately this doesn't solve the problem.
The check box "Enable automation events" was already checked.
 
S

Stefan@Deere

Not really. One machine with Visio2000 / WindowsXP it works on another with
the same configuration it doesn't. I designed and programmed the file on a
machine with Visio2000 / Windows2000. Here everthing works fine.
 
J

junethesecond

If the check boxs for enabling VBA and automation event is turned on,
then,
but i am not sure, there may be another
security system against macro for those PCs.
 

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