Compartilhar via


Menus.Add Method

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

Syntax

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

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

Parameters

Return Value

Type: Microsoft.Office.Interop.Excel.Menu

See Also

Reference

Menus Interface

Menus Members

Microsoft.Office.Interop.Excel Namespace