Hi Marc,
I understand what you are suggesting, but I had a situation where the pop up of IE will not get recognized by the running macro. And the IE page will not proceed until the pop up is dismissed, and the Macro will also keep waiting without proceeding further, even if you code wait until page is not buzy will not get executed. The moment someone manually dismiss that pop up, the macro continues.
the only workaround that worked for me is to capture that popup window class and dismiss using another instance of excel that keeps a constant check to see if any such pop up appears.
Regards,
Prasad DN