Share via


Window.ToggleRibbon Method

Shows or hides the ribbon.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub ToggleRibbon
'Usage
Dim instance As Window

instance.ToggleRibbon()
void ToggleRibbon()

Remarks

If the ribbon is visible, the ToggleRibbon() method hides it; if the ribbon is hidden, the ToggleRibbon() method shows it.

See Also

Reference

Window Interface

Window Members

Microsoft.Office.Interop.Word Namespace