Window.Top property (Project)

Gets or sets the distance in points of the window below the top edge of the window display area. Read/write Long.

Syntax

expression.Top

expression A variable that represents a Window object.

Remarks

The window display area is below the ribbon in Project and Project. The default value of Top is -19, which means the active window is 19 points above the window display area. If you set the value to less than -19, part of the active window is hidden below the ribbon.

For the distance of the main window from the top of the screen, see the Top property of the Application 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.