There are probably better ways, but until someone else comes along, you could try:
Code:
Dim i As Integer
Dim sng As Single
sng = CSng(Me.[COLOR="red"]YourCtrlName[/COLOR])
i = Me.[COLOR="Red"]YourCtrlName[/COLOR]
If Abs(sng - i) <> 0.25 And Abs(sng - i) <> 0 And Abs(sng - i) <> 0.5 And Abs(sng - i) <> 0.75 Then
Cancel = True
End If