Compartilhar via


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

IMenus Interface

IMenus Members

Microsoft.Office.Interop.Excel Namespace