- Description
- Executes a VBA event handler.
- Parameter nEventId
- The identifier of the event. Must be a constant from VBAEventId.
- Parameter aArgs
- The input arguments needed to create the argument list of the VBA
event handler.
- Throws
- ::com::sun::star::lang::IllegalArgumentException
if the passed event identifier is not supported, or if the passed
arguments do not conform to the arguments expected by the specified
event.
- Throws
- ::com::sun::star::script::provider::ScriptFrameworkErrorException
if the VBA event handler could not be invoked. Reasons may be, that
handling of VBA events is not enabled, that the VBA event handler
macro has not been found, or that the execution of the macro has
been aborted with an error.
- Throws
- ::com::sun::star::util::VetoException
if the VBA event handler has indicated to veto the event.
|