Hello, I have the following code which is working well but I am getting too many message boxes - I would like to delay the box to give the user time to enter the correct data.
here are the spreadsheet cell references
Product 1 Product 2
Area m2 D131 D202
Zone 1 D133 D204
Zone 2 D135 D206
Zone 3 D137 D208
Zone 4 D139 D2010
Zone 5 D141 D212
Zone 6 D143 D214
Cell "F" is totaling all of the zone cells and the code below is to say that if the zone cells do not match the 'Area m2' cell then display the message box - I need the message to be delayed about 30 seconds or 1 minute to allow time to fill in the 'Zone' cells.
here is the code that I have so far :
Private Sub worksheet_change(ByVal target As Range)
If Range("f131") <> Range("d131") Then
MsgBox "WARNING zone areas do not match Total Area"
Else
If Range("f202") <> Range("d202") Then
MsgBox "WARNING zone areas do not match Total Area"
End If
End If
End Sub
Bookmarks