ProtectedViewWindow Members (Excel)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a Protected View window.

Name

Description

Activate

Brings the Protected View window to the front of the z-order.

Close

Closes the specified Protected View window.

Edit

Opens the workbook that is open in the specified Protected View window for editing.

Name

Description

Caption

Returns or sets a Variant value that represents the name that appears in the title bar of the Protected View window. Read/write

EnableResize

True if the Protected View window can be resized. Read/write

Height

Returns or sets a value that represents the height, in points, of the Protected View window. Read/write

Left

Returns or sets a value that represents the distance, in points, from the left edge of the client area to the left edge of the Protected View window. Read/write

SourceName

Returns the name of the source file that is open in the specified Protected View window. Read-only

SourcePath

Returns the path of the source file that is open in the specified Protected View window. Read-only

Top

Returns or sets a value that represents the distance, in points, from the top edge of the specified Protected View window to the top edge of the usable area. Read/write

Visible

Returns or sets a value that determines whether the specified Protected View window is visible. Read/write

Width

Returns or sets a value that specifies the width, in points, of the specified Protected View window. Read/write

WindowState

Returns or sets the state of the specified Protected View window. Read/write

Workbook

Returns an object that represents the workbook that is open in the specified Protected View window. Read-only

Show: