NativeExcel for .Net Developer's Reference

IWorksheet.SplitColumn Property

Returns or sets the column number where the worksheet is split into panes (the number of colums to the left of the split line).

[Visual Basic]
Property SplitColumn As Double
[C#]
double SplitColumn { get; set; }
[C++]
__property double get_SplitColumn();
__property void set_SplitColumn(double );
[JScript]
function get SplitColumn() : double
function set SplitColumn(double);

Example

This example splits the worksheet one so that there are 2 columns to the left of the split line.

[C#]
book.Worksheets[1].SplitColumn = 2;
[Visual Basic]
book.Worksheets(1).SplitColumn = 2
[C++]
book->Worksheets->Item[1]->SplitColumn = 2;

See Also

IWorksheet Interface | NativeExcel Namespace | Split Property | FreezePanes Property | SplitRow Property