vba: Slow system making IE.Quit not work?

Peter h

Active Member
Joined
Dec 8, 2015
Messages
417
I came into work yesterday, and noticed my computer acting really slow. I'm not sure if there was maintenance being done on the server, or what was going on. But in my code I manipulate IE, and use IE.Quit at the end of each sub that uses it. Well, I kept getting an error saying a system shutdown is already scheduled, and I assumed that a previous IE was still in the process of shutting down, and since the system was being slow it just wasn't happening as instantaneously as it normally does. Is there a loop I can do while IE is still closing before proceeding with the code? Or an If statement to check if a previous instance of IE is still being processed? Thanks for any help you guys got.

P.S. I tried restarting the computer, and still have the same issue.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,215,327
Messages
6,124,287
Members
449,149
Latest member
mwdbActuary

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top