Sub formattage()
RowCount = Cells(Cells.Rows.Count, "f").End(xlUp).Row
Range("F1:F4").Select
Selection.NumberFormat = "General"
Range("F5:F8").Select
Selection.NumberFormat = "$#,##0.00"
Range("F9:F" & RowCount).Select
Selection.NumberFormat = "General"
End Sub