Partager via


Name.ShortcutKey Property

Returns or sets the shortcut key for a name defined as a custom Microsoft Excel 4.0 macro command.

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

Syntax

'Declaration
Property ShortcutKey As String
    Get
    Set
'Usage
Dim instance As Name
Dim value As String

value = instance.ShortcutKey

instance.ShortcutKey = value
string ShortcutKey { get; set; }

Property Value

Type: System.String

See Also

Reference

Name Interface

Name Members

Microsoft.Office.Interop.Excel Namespace