Good evening, I have a question that I am sure will be simple for many; I was provided this to search a sheet in excel and find a value less than zero and create a msgbox.
Private Sub Worksheet_Calculate()
If Me.Range("$K$14").Value<0 Then_ MsgBox "Value can not be negative"
End Sub
This works fine for cell K14 but I want to apply it to all cells K14 to K54 on the sheet. Can you suggest anything? I have tried a number of things and searched for answers but I can not find the right fix.
Thank you for any suggestions in advance.
Private Sub Worksheet_Calculate()
If Me.Range("$K$14").Value<0 Then_ MsgBox "Value can not be negative"
End Sub
This works fine for cell K14 but I want to apply it to all cells K14 to K54 on the sheet. Can you suggest anything? I have tried a number of things and searched for answers but I can not find the right fix.
Thank you for any suggestions in advance.