Thanks for the input Radimus.
The example sealeopard posted appears to work for all three ranges, however I think I'll tinker with the val() and try to incorporate it.
I still stand by my first post. I thought it was pretty straight forward, a range is a range; I should be able to plug any range into the code and have it work.
Timeout, I just thought of something. I can't use the val() statement, The letter in front of the number is required to determine the range. I'm not comparing just the range of numbers, I'm also comparing the letter designator. E for East, W for West, and M for Main. I have to know which floor it's on because the numbers are duplicated on all 3 floors.
Thoughts?
Thanks again.
[ 30. October 2002, 21:14: Message edited by: dbeiser ]
_________________________
Dave
Melbourne, FL