Have code set up below with several cases that works excellent when a cell in a workbook changes to value identified it runs the if , then code. Problem is if a record is reversed need the value in cell J4 to revert to True vs false which is trigger by then statement prior. IfElse statement is intended to do this but fails. < is causing the issue, not sure how to complete the statement. Essentually if I2 = Value do this, if less than Value do that.
Assistance appreciated. Arg!
Sub KillList()
Dim cellValue As Integer
cellValue = Sheets("Endlist").Range("I2").Value
Select Case cellValue
Case Sheets("Endlist").Range("I4").Value
If Sheets("Endlist").Range("J4").Value Then
MsgBox ("Print 1st Endlist, Repair Endlist count " & cellValue + 1)
Sheets("Endlist").Range("J4").Value = "False"
Call CutRepairEndlist
Call PrintKillListOne
ElseIf Sheets("Endlist").Range("I4").[<]Value Then
Sheets("Endlist").Range("J4") = "True"
End If
Assistance appreciated. Arg!
Sub KillList()
Dim cellValue As Integer
cellValue = Sheets("Endlist").Range("I2").Value
Select Case cellValue
Case Sheets("Endlist").Range("I4").Value
If Sheets("Endlist").Range("J4").Value Then
MsgBox ("Print 1st Endlist, Repair Endlist count " & cellValue + 1)
Sheets("Endlist").Range("J4").Value = "False"
Call CutRepairEndlist
Call PrintKillListOne
ElseIf Sheets("Endlist").Range("I4").[<]Value Then
Sheets("Endlist").Range("J4") = "True"
End If