Share via


IMenuBars.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 IMenuBars
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

IMenuBars Interface

IMenuBars Members

Microsoft.Office.Interop.Excel Namespace