Window.SplitColumn property (Excel)

Returns or sets the column number where the window is split into panes (the number of columns to the left of the split line). Read/write Long.

Syntax

expression.SplitColumn

expression A variable that represents a Window object.

Example

This example splits the window and leaves 1.5 columns to the left of the split line.

Workbooks("BOOK1.XLS").Worksheets("Sheet1").Activate 
ActiveWindow.SplitColumn = 1.5

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.