This documentation is archived and is not being maintained.

Inspector.CommandBars Property

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

Version Information
 Version Added:  Outlook 2007



expression   A variable that represents an Inspector object.


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: