ProtectedViewWindow.Top property (Word)

Returns or sets the vertical position, in points, of the specified Protected View window. Read/write Long

Syntax

expression.Top

expression An expression that returns a ProtectedViewWindow object.

Example

The following code example sets the vertical position of the active Protected View window to 100 point.

With ActiveProtectedViewWindow 
 .WindowState = wdWindowStateNormal 
 .Left = 0 
 .Top = 100 
End With 

See also

ProtectedViewWindow Object

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.