It's not a stupid question - it's just that I have experience of being a user and also developing these kind of things. It is natural to want to try and ensure data integrity but the way you are trying to do it at the mo would, IMHO, be a large burden on the users
Other things you might want to look at are:
whether there is any logic that determines the number range available.
If there is another identifier that is easier to recognise than an acct number - if so, you may be able to use a VLOOKUP to return this data and display to the user on entry of the acct no.
Can you give any further details on the logic of what is meant to happen and what the users are meant to be doing. There is almost certainly something that can be done but exactly what will depend on your setup and process....
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
Please read FAQ222-2244 before you ask a question