InfoConnect for Airlines VBA Guide
ItemByName Function (ContextMenus)
The descriptive name of the menu
Returns the context menu associated with the specified descriptive name.
Syntax
object.ItemByName( _
   ByVal name As String _
) As _ContextMenu

Parameters

name
The descriptive name of the menu

Return Value

The context menu associated with name, or null if it does not exist
Exceptions
ExceptionDescription
System.ArgumentNullExceptionIf the name passed is null or empty
System.InvalidOperationExceptionIf the ContextMenus object is not available or in an error state
See Also