Ok - this is a bit tricky 'cos of the number of permutations available like how do they get to that cell (after entering data - using tab or enter)
Anyways, if you copy and paste this into the WORKSHEET module of the appropriate sheet, it'll work for if the date needs to be in col H
Public DateIsNext As Boolean
Private Sub Worksheet_Change(ByVal Target As Range)
If DateIsNext = True Then
If HASDATE(Range(Target.Address)) Then
DateIsNext = False
Else
Application.EnableEvents = False
MsgBox "You must enter a date to continue"
Target.Value = ""
Range(Target.Address).Select
Application.EnableEvents = False
End If
Else
End If
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Column = 8 Then 'this is the date column ref
DateIsNext = True
Else
DateIsNext = False
End If
End Sub
Function HASDATE(c As Range) As Boolean
HASDATE = IsDate(cl)
End Function
Rgds
Geoff
Si hoc legere scis, nimis eruditionis habes