CurrentGroup Property
Returns or sets an OutlookBarGroup object that represents the group that is open in the specified Outlook Bar pane.
expression.CurrentGroup
expression 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.