http://www.perlmonks.org?node_id=1019133


in reply to Controlling IE and making it QUIT !!

I've never tried controlling IE from Perl, so treat this suggestion with great suspicion. To avoid the sort of behaviour you describe in Excel, I would use $xl->EnableEvents = 0. It might be worth trying something as simple as changing $xl to $IE.

Regards,

John Davies