Get the SubFormat used by a column.
GetSubFormat()
The subformat as an integer enumerated from 0
import PyOrigin PyOrigin.FindWorksheet('[Book1]Sheet1').Columns(0).SetFormat(2) SubFmt=PyOrigin.FindWorksheet('[Book1]Sheet1').Columns(0).GetSubFormat() print('The subformat number is %d' % SubFmt)