integer=lastCol()
The function gives number of the last column containing data used in a sheet.

Parameters
There are no parametres in this function.

Example - Director
global xls
maxCol=xls.lastCol()

Example - Authorware
maxCol:=CallObject(xls; "lastCol")