Share via


ProtectedViewWindows Object (Excel)

A collection of the ProtectedViewWindow objects that represent all the Protected View windows that are currently open in the application.

Version Information

Version Added: Excel 2010

Remarks

Use the ProtectedViewWindows property to return the ProtectedViewWindows collection.

Example

The following code example displays the number of Protected View windows that are open.

MsgBox "There are " & ProtectedViewWindows.Count & _ 
 " Protected View windows currently open."

See Also

Concepts

ProtectedViewWindows Object Members

Excel Object Model Reference