CommandBarItem.ConnectHandler
This function connects the passed in Handler to this CommandBarItem. The CommandID is passed to the Handler when the command is executed.
| Syntax | Parameters | Return Value |
|---|---|---|
Sub CommandBarItem.ConnectHandler( _
CommandID As Integer, _
Handler As Variant)
|
Type: Integer
Type: Variant |
This function does not return a value. |