to work with staking plans I need to update permanently the result list.
I tried follow code, to update my result list
- Code: Select all
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Columns.Count <> 16 Then Exit Sub
Application.EnableEvents = False
If Range("AF2") < 45 And Range("AF2") > 30 Then
Range("Q2") = "-6"
End If
If Range("AF2") < 25 And Range("AF2") > 15 Then
Range("Q2") = ""
End If
Application.EnableEvents = True
End Sub
but it's not really working - ideas what I'm doing wrong?
dc