Read-only. Returns the submenu of the specified menu item.
Applies to: MenuItem object
[[Set] subMenuRet =] object.SubMenu |
The SubMenu property syntax has these parts:
Part | Description |
object | Required. An expression that returns a MenuItem object. |
subMenuRet | Optional. A Boolean type variable. |
This property is only effective for the menu items of the cdMenuItemPopup type (the Type property), that is, those containing a submenu. For menu items of other types this property returns Nothing.
See Also |
Type property (MenuItem object), Menu object |