Forum Discussion

ajl_ahmed's avatar
ajl_ahmed
Iron Contributor
Jul 13, 2022

What is thee error in this code?

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

Regards

  • Jagodragon's avatar
    Jagodragon
    Iron Contributor

    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

Resources