CommandBarItems.InsertMacroButton
This function adds a button to the command bar referencing the specified global macro.
| Syntax | Parameters | Return Value |
|---|---|---|
Function CommandBarItems.InsertMacroButton( _
Index As Integer, _
MacroName As String, _
Optional Caption As String) As CommandBarItem
|
Type: Integer
Type: String
Type: String |
CommandBarItem |