Hide Cells
Sub cus()
For i = 78 To 131
If Range("C" & i) = "OK" Then
Range("C" & i).Rows.EntireRow.Hidden = True
End If
Next i
End Sub
On 22 Maj, 14:39, lightbulb
wrote:
Is there a macro or formula I can use to hide certain rows if certain cells
say "OK"?
For example, Hide any Rows between 78 and 131 when column T in those rows
equals "OK", all other rows in that range will remain visible.
Thanks!
|