Programming with Reflection
DestroyToolbar method
Syntax object.DestroyToolbar ToolbarName
Removes the specified toolbar. If the specified toolbar does not exist, Reflection ignores this command; no error is returned.
ToolbarName Argument type: String
Required
The name of the toolbar to be removed. Include spaces, if any, in the toolbar name. Toolbar names are not case sensitive. For example, this command will remove the toolbar created using the name "My Toolbar."
Session.DestroyToolbar "My Toolbar"