Share via


Window.Top Property

The distance in points from the top edge of the window to the top edge of the usable area (below the menus, any toolbars docked at the top, and the formula bar).

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Top As Double
    Get
    Set
'Usage
Dim instance As Window
Dim value As Double

value = instance.Top

instance.Top = value
double Top { get; set; }

Property Value

Type: System.Double

Remarks

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

See Also

Reference

Window Interface

Window Members

Microsoft.Office.Interop.Excel Namespace