CBragg
VB Dummy
- Local time
- Today, 19:44
- Joined
- Oct 21, 2002
- Messages
- 89
Im trying to validate a number field in VB so the users can only enter either .00, .25, .50, .75 With any number before the decimal space.
e.g. if they enter 4.25 nothing happens, however if they enter 4.30 then a msgbox appears.
Ive tried all the logical ideas i can think of:
<> "*.25"
<> "#.25"
<> "?.25"
<> Chr(42) & ".25"
Where do i go from here?
Any sort of help would be appreciated.
Cheers
e.g. if they enter 4.25 nothing happens, however if they enter 4.30 then a msgbox appears.
Ive tried all the logical ideas i can think of:
<> "*.25"
<> "#.25"
<> "?.25"
<> Chr(42) & ".25"
Where do i go from here?
Any sort of help would be appreciated.
Cheers