I don't understand why the select...case...endselect would be any different than the IF statements in their ability to function. I suspect something else in your code.

I am glad your code is functional though.

Feel free to post your good code as well as your non-functional code so that we can possibly determine what was wrong.
_________________________
Home page: http://www.kixhelp.com/hb/