Share via


Inspector.CommandBars Property

Outlook Developer Reference

Returns a CommandBars collection that represents all the menus and toolbars in the Inspector. Read-only.

Version Information
 Version Added:  Outlook 2007

Syntax

expression.CommandBars

expression   A variable that represents an Inspector object.

Remarks

Command bar customization in an Inspector is displayed by default in the Add-ins tab on the Ribbon. This might be acceptable to you, or you might decide that the Add-ins tab experience is less than optimal for your command user interface. If the latter is the case, you should consider updating your code to use Ribbon extensibility. For more information, see the following:

See Also