If you are formatting the ActiveSheet, you can use this line of code...
Cells.NumberFormat="General"
If you want to format a sheet that is not necessarily going to be the ActiveSheet (let's assume it is going to be Sheet2), then use this instead...
Worksheets("Sheet2").Cells.NumberFormat="General"