method Menu.Remove (ID as Variant)
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 removed
Use
Clear
method to clear the items collection.