EndSubMenuLevel Property (ActiveX)

Specifies the last item in a submenu.

Supported platforms: Windows only

Signature

VBA:

object.EndSubMenuLevel
object

Type: PopupMenuItem

The object this property applies to.

Property Value

Read-only: No

Type: Integer

The number of menu levels this menu item terminates.

Remarks

The default value for this property is zero (0), specifying that this menu item is not the last item in the submenu.

A value of one (1) indicates that this item is the last item in a submenu. A value of two (2) indicates that this item is the last item of a submenu and also of its parent menu. This value should be incremented for each parent menu for which this item terminates.

Examples

VBA:

Not available

Visual LISP:

Not available