"Cell" might be a VBA Keyword in the future. Change all "Cell" Variables to "Cel"
Dim Cel As Range
Dim Rng1 As Range
Dim MySheets As Collection
Dim Sht As Worksheet
With My Sheets
.Add Sheets("Summary")
.Add Sheets("Detailed")
End With
For Each Sht in MySheets
On Error Resume Next
Set Rng1 = Sht.Cells.SpecialCells(xlCellTypeFormulas, 1)
'
'
'
Next Sht
End Sub
Alternately
Private Sub Worksheet_Change(ByVal Target As Range)
Colorize Sheets("Summary"), Target
ColorizeSheets("Detailed"), Target
End Sub
Private Function Colorize(Sht As Worksheet, Rng2 As Range)
Dim Cel As Range
Dim Rng1 As Range
On Error Resume Next
Set Rng1 = Sht.Cells.SpecialCells(xlCellTypeFormulas, 1)
On Error Goto 0
If Rng1 Is Nothing Then
Set Rng1 = Range(Rng2.Address)
Else
Set Rng1 = Union(Range(Rng2.Address), Rng1)
End If
For Each Cel In Rng1
Select Case Cel.Value
'Case vbNullString ' Included in Case Else
' Cell.Interior.ColorIndex = xlNone
' Cell.Font.Bold = False
Case "Tom", "Joe", "Paul"
Cel.Interior.ColorIndex = 3
Cel.Font.Bold = True
Case "Smith", "Jones"
Cel.Interior.ColorIndex = 4
Cel.Font.Bold = True
Case 1, 3, 7, 9
Cel.Interior.ColorIndex = 5
Cel.Font.Bold = True
Case 10 To 25
Cel.Interior.ColorIndex = 6
Cel.Font.Bold = True
Case 26 To 99
Cel.Interior.ColorIndex = 7
Cel.Font.Bold = True
Case Else
Cel.Interior.ColorIndex = xlNone
Cel.Font.Bold = False
End Select
Next