Link Search Menu Expand Document

SSpread.ColID Property

Sets a string that can be used to identify the column for a particular column.

Before setting this property, use the Col property to specify the target column. The initial value is a blank character string.

Setting the ColID property on a column allows you to reference the column using the GetColFromID method.

Even if the column moves, it can be referenced, so the column can be identified more reliably than the column number.

Example of usage

Col = 3;
ColID = "address";
print(GetColFromID("address"), "\n");

Related Item
GetColFromID method