TG, Your code in the thread for ravenhawk08 works as was requested. Since I did not want exactly the same thing I started a new thread.I got busy and did not get back to say I found the answer which was to use a case statement and the or