Get the number of columns in active worksheet.
FindCol(Label, Begin = 0, Casesensitive = False, FullMatch = True, End = -1, AllowShortName = True)
column
EX1
import PyOrigin wks=PyOrigin.FindWorksheet('[Book1]Sheet1') #Get the number of columns in active sheet wks.Columns(0).SetLongName('Time') wks.FindCol('Time').SetFormula('i') wks.FindCol('Time').ExecuteFormula()