Share via


MenuBars.Add Method

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

Syntax

'Declaration
Function Add ( _
    Name As Object _
) As MenuBar
'Usage
Dim instance As MenuBars
Dim Name As Object
Dim returnValue As MenuBar

returnValue = instance.Add(Name)
MenuBar Add(
    Object Name
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Excel.MenuBar

See Also

Reference

MenuBars Interface

MenuBars Members

Microsoft.Office.Interop.Excel Namespace