ListEvents Method

Return a complete list of events for the specified object.

Syntax

object.ListEvents pvEvents, piNumEvents

Properties

The ListEvents method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

pvEvents

Variant table of strings. Returns a list of event names that have been configured in VBA.

piNumEvents

Integer. Returns the number of configured events.

 

Example

Applies To