Link Search Menu Expand Document

SSpread.GetColFromID Method

Explanation Gets the column number with the specified identification string.

The ColID property can be used to set any string that identifies the column. This method can get the column number of a column that has the specified identification string set.

The identification string is not case sensitive.
Call format GetColFromID(colid)
Return value Column index
Arguments colid A string that identifies the column
Exception None
Example of use
   Col = 3;
    ColID = "address";
    print(GetColFromID("address"), "\n");
    
Related item ColID property