Compartilhar via


MenuItems.AddMenu Method

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

Syntax

'Declaration
Function AddMenu ( _
    Caption As String, _
    Before As Object, _
    Restore As Object _
) As Menu
'Usage
Dim instance As MenuItems
Dim Caption As String
Dim Before As Object
Dim Restore As Object
Dim returnValue As Menu

returnValue = instance.AddMenu(Caption, _
    Before, Restore)
Menu AddMenu(
    string Caption,
    Object Before,
    Object Restore
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Excel.Menu

See Also

Reference

MenuItems Interface

MenuItems Members

Microsoft.Office.Interop.Excel Namespace