April15Hater
Accountant
- Local time
- Today, 14:16
- Joined
- Sep 12, 2008
- Messages
- 349
Hi guys,
I'm trying to use data validation in a textbox and I need some help with the syntax.
What I'd like to do is use data validation to not only prevent a decimal from being entered, but to shoot up a message saying it was invalid. My aircode looks like:
me-int(me)=0
Obviously, the 'me' doesn't work here and is the missing piece to my puzzle. I know this can be done easily in VBA but I'd like to stay away from VBA because there are many text boxes I'd have to apply the code to and it would make for a cumbersome process. However I'm certainly not against a VBA alternative that could be efficiently applied.
Thanks!
Joe
I'm trying to use data validation in a textbox and I need some help with the syntax.
What I'd like to do is use data validation to not only prevent a decimal from being entered, but to shoot up a message saying it was invalid. My aircode looks like:
me-int(me)=0
Obviously, the 'me' doesn't work here and is the missing piece to my puzzle. I know this can be done easily in VBA but I'd like to stay away from VBA because there are many text boxes I'd have to apply the code to and it would make for a cumbersome process. However I'm certainly not against a VBA alternative that could be efficiently applied.
Thanks!
Joe