Thank you flyingdutchmen and to the other posters. I was able to add the code I wanted and it appears to work correctly. Respectfully, Robert