Compartilhar via


_Application.MacroOptions2 Method

Reserved for internal use.

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

Syntax

'Declaration
Sub MacroOptions2 ( _
    Macro As Object, _
    Description As Object, _
    HasMenu As Object, _
    MenuText As Object, _
    HasShortcutKey As Object, _
    ShortcutKey As Object, _
    Category As Object, _
    StatusBar As Object, _
    HelpContextID As Object, _
    HelpFile As Object, _
    ArgumentDescriptions As Object _
)
'Usage
Dim instance As _Application
Dim Macro As Object
Dim Description As Object
Dim HasMenu As Object
Dim MenuText As Object
Dim HasShortcutKey As Object
Dim ShortcutKey As Object
Dim Category As Object
Dim StatusBar As Object
Dim HelpContextID As Object
Dim HelpFile As Object
Dim ArgumentDescriptions As Object

instance.MacroOptions2(Macro, Description, _
    HasMenu, MenuText, HasShortcutKey, _
    ShortcutKey, Category, StatusBar, _
    HelpContextID, HelpFile, ArgumentDescriptions)
void MacroOptions2(
    Object Macro,
    Object Description,
    Object HasMenu,
    Object MenuText,
    Object HasShortcutKey,
    Object ShortcutKey,
    Object Category,
    Object StatusBar,
    Object HelpContextID,
    Object HelpFile,
    Object ArgumentDescriptions
)

Parameters

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace