Thank you... I must admit the link was a bit over my head and I got lost in trying to understand it. So I ran your code but since it gave an error I didn't try to work on it further. Your complete code in that download works perfectly, and doesn't even make my monitor flicker like my original code does. Thanks!