Sets the column formats in a worksheet.
SetColFormats(Formats, Repeat = True)
Returns True on successful and False on failure.
#Create Sheet in Book1 with 5 columns #the following code will set column formats in a new worksheet # 1st column - Numeric (0) # 2nd column - Text (1) # 3rd column - Time (2) # 4th column - Date (3) # 5th column - Text and Numeric (9) wks=PyOrigin.WorksheetPages('Book1').Layers(0) Formats="01239" wks.SetColFormats(Formats)
Worksheet::GetColFormats