just wondering how i can exit a if statement loop
I have this above however whenever i edit a cell that is not A1 or A2 the screen will flick and i assume it just runs the if statement again as the condition is still true is there a way i can stop this from happening unless A1 or A2 are changed
Tia Dan
Code:
If (Range("A1") = "One") And (Range("A2") = "full") Then
Rows("56:83").EntireRow.Hidden = True
Range("A2") = "(Change Form Type)"
Range("A3") = "One"
Range("A1:J1").Select
Elseif (Range("A1") = "Two") And (Range("A2") = "Half") Then
Rows("56:83").EntireRow.Hidden = False
Range("A2") = "(Change Form Type)"
Range("A3") = "Two"
Range("A1:J1").Select
End If
I have this above however whenever i edit a cell that is not A1 or A2 the screen will flick and i assume it just runs the if statement again as the condition is still true is there a way i can stop this from happening unless A1 or A2 are changed
Tia Dan