RemoveAll Method

Removes all menu items from the menu.

Applies to: Menu object

Syntax

object.RemoveAll ()

The MenuItem method syntax has these parts:

Part Description
object Required. An expression that returns a Menu object.