CurrentGroup Property

CurrentGroup Property

         Example         Applies To        

Returns or sets the group that is open in the specified Outlook Bar pane.

Read/write OutlookBarGroup.

Syntax

objPane.CurrentGroup

objPanet   Required. An expression that returns an OutlookBarPane object.

Remarks

You must use the Set keyword to set this property, as shown in this example.

Set myOlPane.CurrentGroup = myOlGroup

Setting this property causes the BeforeGroupSwitch event to occur.