WindowActivated Event

L

LeeAnn

Hi! Thanks for all the help you have been giving me. It is really
appreciated. Another question...

I have one VISIO session with two documents opened. I would like to run a
macro when the user moves from one document to another document. I am trying
to use the WindowActivated macro. I have put a Windows_WindowActivated macro
in ThisDocument, but it doesn't seem to react to the WindowActivated event.
Any ideas?

Thanks again,
Lee Ann
 
P

Paul Herber

Hi! Thanks for all the help you have been giving me. It is really
appreciated. Another question...

I have one VISIO session with two documents opened. I would like to run a
macro when the user moves from one document to another document. I am trying
to use the WindowActivated macro. I have put a Windows_WindowActivated macro
in ThisDocument, but it doesn't seem to react to the WindowActivated event.
Any ideas?

Just naming the event isn't enough, you have to tell Visio about your
macro.

http://msdn.microsoft.com/en-us/library/aa201790(office.10).aspx
or just search for Visio event handler
 
Top