Window.SplitHorizontal property (Excel)
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).
Workbooks("BOOK1.XLS").Worksheets("Sheet1").Activate
ActiveWindow.SplitHorizontal = 216
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.