Library.PostCommandToCommandHandler

This function posts a command to a handler such as an add-in. The command must have been added to menus or toolbars by the handler and connected via CommandBarItem.ConnectHandler.

Syntax Parameters Return Value
Sub Library.PostCommandToCommandHandler( _
    handler As Variant, _
    commandId As Long)
  • handler [in]

Type: Variant

  • commandId [in]

Type: Long

This function does not return a value.