' Quick check on the date to keep acceptable range within 14 days.
If WeekEnding > Date + 14 Or WeekEnding < Date - 14 Then
MsgBox "The date is out of range", vbExclamation, "Entry Error"
cancel = True
WeekEnding.SelStart = 0
WeekEnding.SelLength = Len(WeekEnding.Text)
End If
If Not IsSaturday(WeekEnding) Then
MsgBox "The date you entered is not a Saturday", vbExclamation, "Try Again"
cancel = True
WeekEnding.SelStart = 0
WeekEnding.SelLength = Len(WeekEnding.Text)
End If