ProtectedViewWindow.EnableResize property (Excel)

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

Syntax

expression.EnableResize

expression A variable that represents a ProtectedViewWindow object.

Return value

Boolean

Example

The following code example sets the active Protected View window so that it cannot be resized.

ActiveProtectedViewWindow.EnableResize = False

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.