Window.SplitRow property (Excel)
Returns or sets the row number where the window is split into panes (the number of rows above the split). Read/write Long.
Syntax
expression.SplitRow
expression A variable that represents a Window object.
Example
This example splits the active window so that there are 10 rows above the split line.
Workbooks("BOOK1.XLS").Worksheets("Sheet1").Activate
ActiveWindow.SplitRow = 10
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.