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
- Name
Type: System.Object
Return Value
Type: Microsoft.Office.Interop.Excel.MenuBar