Hi,
In the code below, LaborHours is a text box on the form.
Is there a better way to do this?
Thanks,Code:If LaborHours - Int(LaborHours) <> Abs(0) And _ LaborHours - Int(LaborHours) <> Abs(0.25) And _ LaborHours - Int(LaborHours) <> Abs(0.5) And _ LaborHours - Int(LaborHours) <> Abs(0.75) Then MsgBox ("Labor Hours must be to the nearest 1/4 hour.") End If
Al.




Reply With Quote