ProtectedViewWindow.Top property (Excel)

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.

Syntax

expression.Top

expression A variable that represents a ProtectedViewWindow object.

Return value

Double

Remarks

You cannot set this property for a maximized Protected View window. Use the WindowState property to return or set the state of the window.

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.