I'm extremely new to VBA but need to use it to complete error checking, consisting of just a popup message, for an excel spreadsheet. Looking through the forums I found a code that works for one of the cells, but i need it to work for 100 cells (in a single column).
The code is:
I was hoping someone could alter this to allow for I3 - I100, any help would be appreciated.![]()
Private Sub Worksheet_Calculate() If Me.Range("I3").Value = 1 Then _ MsgBox "Invalid value" End Sub
Moderator's Edit: I added code tags for you since you are new to the forum. Please read our rules and adhere to them in the future.
Bookmarks