Share via


Window.SplitHorizontal Property

Excel Developer Reference

Returns or sets the location of the horizontal window split, in points. Read/write Double.

Syntax

expression.SplitHorizontal

expression   A variable that represents a Window object.

Example

This example sets the horizontal split for the active window to 216 points (3 inches).

Visual Basic for Applications
  Workbooks("BOOK1.XLS").Worksheets("Sheet1").Activate
ActiveWindow.SplitHorizontal = 216

See Also