/* adds the words "test value" to a new spreadsheet, then formats the cell containing the value */
objexcel = createcomobject("Excel.Application")
objexcel~visible = true
workbook = objexcel~workbooks()
workbook~add()
cell = objexcel~cells(1, 1)
cell~value = "Test value"
font = cell~font
font~bold = "True"
font~size = 24
font~colorindex = 3