Hi All,
I have a script for one of my clients that currently sets the salesperson on orders based on the ship to state and a UDF. Now they want different assignments for Southern California vs Northern California. The only way I can see to do this is based on the zip code. Of course it is not a contiguous range, has a lot of ranges of numbers and some single numbers with in it. I am really struggling on the syntax for the if statement and all the references I find talk about doing it for Excel which is not what I am doing. Do I have to do a bunch of greater than and less than ranges? It would be nice if there was some sort of in function that would do this were I could put in the ranges as well as the individual numbers but at this point I will take whatever will work.
Thanks Much!
------------------------------
Bob Osborn
Consultant
ACI Consulting
------------------------------