What is thee error in this code?

Iron Contributor

Hi
What is the error in this code? can anyone help me to solve the problem in this code?

Regards

Screenshot 2022-07-13 at 16.52.06.png

1 Reply

@ajl_ahmed 

Dim x As String
For r = 12 To 129
    x = "S" & r
    If Range(x).Value = "D" Then
        Range(x).EntireRow.Hidden = False
    End If
Next r