Hey guys,
Trying to get this to work but no matter how I try it I either get mismatch or syntax error. Hopefully it's an easy fix thanks in advance!
Sub Button3_Click()
Dim X As Range
Set X = Range("D1:D13")
If X = "Passed" Then
Rows("D1:D13").EntireRow.Hidden = True
End If
End Sub
Trying to get this to work but no matter how I try it I either get mismatch or syntax error. Hopefully it's an easy fix thanks in advance!
Sub Button3_Click()
Dim X As Range
Set X = Range("D1:D13")
If X = "Passed" Then
Rows("D1:D13").EntireRow.Hidden = True
End If
End Sub