Hello JimmyWilliams,
The comment made by Richard Buttrey got me thinking about yet another automated approach.
Essence of the Code for a Standard Module;
Option Explicit
Sub TogRows()
Dim BeginRow As Integer, EndRow As Integer, ChkCol As Integer, RowChk As Long
BeginRow = 3
EndRow = 500 'Change end Row to suit
ChkCol = 1 'Checks Column A. Change to suit
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
For RowChk = BeginRow To EndRow
If Range("C2") = "" Then Exit Sub 'Change check Cell to suit
If Cells(RowChk, ChkCol).Value = Range("C2").Value + 1 _
Or Cells(RowChk, ChkCol).Value = Range("C2").Value - 1 _
Or Cells(RowChk, ChkCol).Value = Range("C2").Value Then
Cells(RowChk, ChkCol).Rows.Hidden = False
Else
Cells(RowChk, ChkCol).Rows.Hidden = True
End If
Next RowChk
Application.Calculation = xlCalculationAutomatic
Application.ScreenUpdating = True
End Sub
Sub Reset()
Columns(1).Rows.Hidden = False
End Sub
In the attached sample I am giving you two options to choose from.Select Tab "Hide Rows" or Tab "Color Cells"
Regards.
Bookmarks