NativeExcel suite v2.x

Column property

Returns the number of the first column in the specified range. Read-only Integer.

Syntax

property Column: integer;

Example

This example sets the value of A1 cell to the number of the first column in the selection.
Workbook.Sheets[1].Range['A1', 'A1'].Value :=  Workbook.Sheets[1].Selection.Column;
Copyright © NikaSoft 2004-2011