CommandBar.Reset Method

Resets a built-in command bar to its default configuration.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Sub Reset
'Usage
Dim instance As CommandBar

instance.Reset()
void Reset()

Remarks

Resetting a built-in command bar removes custom controls and restores built-in controls.

See Also

Reference

CommandBar Interface

CommandBar Members

Microsoft.Office.Core Namespace