Hello,
I'm working on a primitive inventory sheet and came across this:
https://www.mrexcel.com/forum/excel-questions/141057-negative-value-pop-up-warning.html
From here:
Private Sub Worksheet_Calculate()
For Each cell In Range("B5:B16")
If cell.Value < 0 Then MsgBox ("Warning: Negative value!."), , "Invalid Entry"
Next cell
End Sub
This works well, except, if I use a separate worksheet to alter the data, it locks me in a permanent Message Box, even had to Force Quit to get it out. lol.
I need just a single pop up on evaluation.
Any help?
Thanks
I'm working on a primitive inventory sheet and came across this:
https://www.mrexcel.com/forum/excel-questions/141057-negative-value-pop-up-warning.html
From here:
Private Sub Worksheet_Calculate()
For Each cell In Range("B5:B16")
If cell.Value < 0 Then MsgBox ("Warning: Negative value!."), , "Invalid Entry"
Next cell
End Sub
This works well, except, if I use a separate worksheet to alter the data, it locks me in a permanent Message Box, even had to Force Quit to get it out. lol.
I need just a single pop up on evaluation.
Any help?
Thanks