Try this code in the worksheet module.
There are some changes you need to make to the worksheet.
The values in the Joist Size list are all numbers formatted as text. Always use General Format or a specific number format for numbers - but never use Text format.
A helper column is needed (can be hidden), to designate rows relative to joist size. I've chosen column-A. you can use another column, but must revise the code if so.
Private Sub Worksheet_Change(ByVal Target As Range)
Dim c As Range, bottomrow As Long
bottomrow = Cells(Rows.Count, "A").End(xlUp).Row
If Target.Cells.Count > 1 Then Exit Sub
Application.ScreenUpdating = False
With Me
If Not Intersect(Target, .Range("D6")) Is Nothing Then
Select Case Target.Value
Case "All"
.Cells.Rows.Hidden = False
Case Is <> "All"
For Each c In .Range("A13", Range("A" & bottomrow))
c.EntireRow.Hidden = c.Value <> Target.Value
Next c
End Select
End If
End With
Application.ScreenUpdating = True
End Sub
Bookmarks