B
Bernard Liengme
When I run your Sub it hides only G:I
I am not sure why you get otherwise.
Why all the selections? And what is the purpose of the scrolls?
Would this not do just as well?
Sub Done_Change2()
With Range("G11:H50")
.Locked = True
.FormulaHidden = False
End With
With Range("G54:H58")
.Locked = True
.FormulaHidden = False
End With
With Range("G62:H74")
.Locked = True
.FormulaHidden = False
End With
Columns("G:I").EntireColumn.Hidden = True
Range("D11").Select
End Sub
best wishes
I am not sure why you get otherwise.
Why all the selections? And what is the purpose of the scrolls?
Would this not do just as well?
Sub Done_Change2()
With Range("G11:H50")
.Locked = True
.FormulaHidden = False
End With
With Range("G54:H58")
.Locked = True
.FormulaHidden = False
End With
With Range("G62:H74")
.Locked = True
.FormulaHidden = False
End With
Columns("G:I").EntireColumn.Hidden = True
Range("D11").Select
End Sub
best wishes