Constants |
SCRIPT_STARTED |
This event is fired when a VBA script in the current document has been
started.
|
SCRIPT_STOPPED |
This event is fired when a VBA script in the current document stops
running.
|
INITIALIZE_USERFORM |
This event is fired when a VBA script in the current document tries to
instanciate a userform.
|
Constants' Details |
SCRIPT_STARTED
const long SCRIPT_STARTED = 0;
- Description
- This event is fired when a VBA script in the current document has been
started.
Several scripts may run simultaneously, e.g. when a running script
triggers a document event that starts another script.
The number of running scripts can be obtained via
XVBACompatibility::RunningVBAScripts. The number returned
there will already contain the new script notified with this event.
The member VBAScriptEvent::ModuleName of the event
object will contain the name of the code module that contains the
started script.
|
|
SCRIPT_STOPPED
const long SCRIPT_STOPPED = 1;
- Description
- This event is fired when a VBA script in the current document stops
running.
Several scripts may run simultaneously, e.g. when a running script
triggers a document event that starts another script.
The number of scripts still running can be obtained via
XVBACompatibility::RunningVBAScripts. The number returned
there will not contain the stopped script notified with this event
anymore.
The member VBAScriptEvent::ModuleName of the event
object will contain the name of the code module that contains the
script that has been stopped.
|
|
INITIALIZE_USERFORM
const long INITIALIZE_USERFORM = 2;
- Description
- This event is fired when a VBA script in the current document tries to
instanciate a userform.
The member VBAScriptEvent::ModuleName of the event
object will contain the name of the userform module.
|
|
Top of Page
Copyright © 1995, 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.