Thanks to all who took the time to post a reply! The code and comments are helpful indeed. As usual, I've made the problem more complex than it needs to be it seems. Ron