Removes the item given its caption or its identifier.
Type
Description
ID as Variant
A long expression that indicates the item's identifier or a string expression
that indicates the item's caption.
Use the Clear method to remove all items of the Menu
object. Use the ID property to specify the item's
identifier. Use the Caption property to specify
the item's caption. Use the Visible property to
specify whether the item is visible or hidden.