CommandBarItems.InsertButton
This function adds a button to the command bar referencing the specified command.
| Syntax | Parameters | Return Value |
|---|---|---|
Function CommandBarItems.InsertButton( _
Index As Integer, _
Optional Command As CommandIdentifier = scCmdNone, _
Optional Image As Integer = -1, _
Optional Caption As String, _
Optional UserImage As Boolean = False) As CommandBarItem
|
Type: Integer
Type: CommandIdentifier Default value: scCmdNone
Type: Integer Default value: -1
Type: String
Type: Boolean Default value: False |
CommandBarItem |