Hi, this is what I currently have and wanted to see if there was another way of writing this. What I'm trying to do with the line marked with *** is to basically make sure that cell AresX doesn't exceed 45 and go below 0.
With Sheets("Sheet3").Range("AresX")
*** If .Value >= 0 And .Value < 45 Then
.Value = .Value + 1
End If
End With
Thanks!
With Sheets("Sheet3").Range("AresX")
*** If .Value >= 0 And .Value < 45 Then
.Value = .Value + 1
End If
End With
Thanks!