Hi there,
recently started to work with VBA, so still it's a new world for me.
I've created a really easy formula for hiding severall rows, and am trying to insert anotherone, which would work the same, but would be independed from the last one. But somehow it only makes one formula to work (first). Maybe anyone can say what have I done wrong?
Private Sub Worksheet_Calculate()
If Range("R1").Value > 0 Then
Columns("J:R").Hidden = True
Else
Columns("J:R").Hidden = False
End If
End Sub
Private Sub Worksheet_Calculation1()
If Range("V1").Value > 2 Then
Columns("S:T").Hidden = True
Else
Columns("S:T").Hidden = False
End If
End Sub
Bookmarks