I have this code but this show an error-Run-time error '1004': Unable to set the hidden property of the range class
And one thing more i want to use same code on different sheets in same Workbook.
Sub Hide_Unhide()
'
' Hide_Unhide Macro
' Macro recorded 5/9/2017
'
' Keyboard Shortcut: Ctrl+s
'
If Range("T3069").Value = 30 Then
Rows("3070:3121").EntireRow.Hidden = True
Else
Rows("3070:3121").EntireRow.Hidden = False
End If
End Sub
Lovekush
And one thing more i want to use same code on different sheets in same Workbook.
Sub Hide_Unhide()
'
' Hide_Unhide Macro
' Macro recorded 5/9/2017
'
' Keyboard Shortcut: Ctrl+s
'
If Range("T3069").Value = 30 Then
Rows("3070:3121").EntireRow.Hidden = True
Else
Rows("3070:3121").EntireRow.Hidden = False
End If
End Sub
Lovekush