_Application.CommandBars Property

Returns a CommandBars object that represents the Microsoft Excel command bars.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property CommandBars As CommandBars
    Get
'Usage
Dim instance As _Application
Dim value As CommandBars

value = instance.CommandBars
CommandBars CommandBars { get; }

Property Value

Type: Microsoft.Office.Core.CommandBars

Remarks

This property returns the set of built-in and custom command bars available to the application.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace