Name Property


Returns the name of a cControlChild_Event object. Read-only String.

Syntax

expression.Name

expression A variable that represents a Composite Controls object.

Remarks

Name returns the name of the event which is passed on intialization. Event names are typical of VBA events: OnClick, AfterUpdate, OnChange, etc. All event names begin with "On", "After", or "Before".

Example

This example returns the name of an event handler class object:

Msgbox "The event name is: " & MyComboboxHandler.Events(0).Name

Last edited Dec 19, 2010 at 4:46 AM by vba_junkie, version 2

Comments

No comments yet.