BeforeGroupAdd Event

BeforeGroupAdd Event

See Also         Example         Applies To        

Occurs before a new group is added to the Outlook Bar, either as a result of user action or through program code. This event is not available in VBScript.

Syntax

Sub object_BeforeGroupAdd(Cancel as Boolean)

object   An expression that evaluates to an OutlookBarGroups collection object.

Cancel   Optional. False when the event occurs. If the event procedure sets this argument to True, the group is not added to the Outlook Bar.