Sub FormatNumbers() Dim ws As Worksheet For Each ws In ThisWorkbook.Worksheets ws.Range("D6:F385").NumberFormat = "###000" Next ws End Sub