G
Gary''s Student
Usually, once I set a property like a cell's format:
Range("A1").NumberFormat = "@"
I don't need to "remember" it. I can just read it back with:
Dim s as String
s = Range("A1").NumberFormat
However, once I set a macro's shortcutkey:
Application.MacroOptions Macro:="Macro1", ShortcutKey:= "e"
The correct method to retrieve the property eludes me. I am looking for the
equivalent of:
s = MacroOptions.Macro("Macro1").ShortcutKey
(hopefully macros are part of the object model with read/write properties of
their own)
Range("A1").NumberFormat = "@"
I don't need to "remember" it. I can just read it back with:
Dim s as String
s = Range("A1").NumberFormat
However, once I set a macro's shortcutkey:
Application.MacroOptions Macro:="Macro1", ShortcutKey:= "e"
The correct method to retrieve the property eludes me. I am looking for the
equivalent of:
s = MacroOptions.Macro("Macro1").ShortcutKey
(hopefully macros are part of the object model with read/write properties of
their own)