Is it possible for the warning to appear only once after text is input in any of these 3 cells.
Once I click "OK" and proceed to input a value in any other cell on the worksheet, the warning still pops up on screen. I woud like the warning to only appear once.
Hi I tried this code and it seems to be doing what I want.
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("A4,D5,G7")) Is Nothing Then Exit Sub
If Target.Value <> "" Then MsgBox "Please check value!", vbExclamation
End Sub
However, if the user deletes a value from any of the target cells, I get a runtime error (as per below)
Error 13: Type mismatch highlighting the following line If Target.Value <> "" Then
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.