Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 939 Bytes

Word.ProtectedViewWindow.ToggleRibbon.md

File metadata and controls

46 lines (26 loc) · 939 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ProtectedViewWindow.ToggleRibbon method (Word)
vbawd10.chm231735399
vbawd10.chm231735399
Word.ProtectedViewWindow.ToggleRibbon
767f3efb-2dfe-c202-c544-f09486c660d9
06/08/2017
medium

ProtectedViewWindow.ToggleRibbon method (Word)

Shows or hides the ribbon.

Syntax

expression. ToggleRibbon

expression An expression that returns a 'ProtectedViewWindow' object.

Remarks

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

Example

The following code example toggles the ribbon for the active Protected View window.

ActiveProtectedViewWindow.ToggleRibbon

See also

ProtectedViewWindow Object

[!includeSupport and feedback]