_Application.ActiveProtectedViewWindow Property

Gets a ProtectedViewWindow object that represents the active Protected View window (the window on top).

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

Syntax

'Declaration
ReadOnly Property ActiveProtectedViewWindow As ProtectedViewWindow
    Get
'Usage
Dim instance As _Application
Dim value As ProtectedViewWindow

value = instance.ActiveProtectedViewWindow
ProtectedViewWindow ActiveProtectedViewWindow { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.ProtectedViewWindow
A ProtectedViewWindow object that represents the active Protected View window (the window on top).

Remarks

Returns a null reference (Nothing in Visual Basic) if there are no Protected View windows open. Read-only.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace