title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
ProtectedViewWindow.ToggleRibbon method (Word) |
vbawd10.chm231735399 |
|
|
767f3efb-2dfe-c202-c544-f09486c660d9 |
06/08/2017 |
medium |
Shows or hides the ribbon.
expression. ToggleRibbon
expression An expression that returns a 'ProtectedViewWindow' object.
If the ribbon is visible, the ToggleRibbon method hides it; if the ribbon is hidden, the ToggleRibbon method shows it.
The following code example toggles the ribbon for the active Protected View window.
ActiveProtectedViewWindow.ToggleRibbon
[!includeSupport and feedback]