Window.Split Property
Excel Developer Reference |
True if the window is split. Read/write Boolean.
Syntax
expression.Split
expression A variable that represents a Window object.
Remarks
It’s possible for FreezePanes to be True and Split to be False, or vice versa.
This property applies only to worksheets and macro sheets.
Example
This example splits the active window in Book1.xls at cell B2, without freezing panes. This causes the Split property to return True.
Visual Basic for Applications |
---|
|
This example illustrates two ways of removing the split added by the preceding example.
Visual Basic for Applications |
---|
|
This example removes the window split. Before you can remove the split, you must set FreezePanes to False to remove frozen panes.
Visual Basic for Applications |
---|
|
See Also