CommandBar.InsertPopupMenu

This function adds the specified context menu to the command bar.

Syntax Parameters Return Value
Function CommandBar.InsertPopupMenu( _
    Index As Integer, _
    Caption As String) As CommandBarItem
  • Index [in]

The position of where to place the menu.

Type: Integer

  • Caption [in]

Type: String

CommandBarItem