Thanks, Horstl, for noting what I was trying to do (not sure why some of the code didn't post), and for the 'ingenious' compliment.