ActiveCell Property Example
This example sets the number format in the active cell on the worksheet.
Spreadsheet1.ActiveCell.NumberFormat = "0.##"