Serge and Aaron,

Thanks for your replies, my problem is still not solved. Here's why.

You'll notice that in the code, the Timer event code checks for the "Internet Explorer" window. But when a Message Box appears on the Screen, the Timer event won't fire until OK is clicked on the Message Box.. I am trying to get my program to detect if this message box appears while it is running, send "Enter" or "Escape" to get rid of it, and then continue with execution.

In simpler terms, I want it to be able to detect the Message Box popping up, get rid of it, and continue to run.

Is this possible?

TIA.

Chris

------------------
CJ