Opening Internet Explorer invisible

rnealon

New Member
Joined
Aug 1, 2013
Messages
4
I have a macro that i have a few problems with. Idea is i give it a link, it opens IE in the background and copies information from the page onto a new sheet in the workbook. I have it on 5 computers and it works perfectly on three. All have the same OS, IE version and Office version. My porblem is with my laptop. the piece of code im stuck with is

Code:
 Set ie = CreateObject("InternetExplorer.Application")
    ie.Visible = False
    
    ie.navigate link 
    'Wait for initial page to load
    Do While ie.Busy Or Not ie.readyState = IE_READYSTATE.complete: DoEvents: Loop

this is suppose to create an IE application, set it to be invisible and open a link.
what actually happens is it creates a IE application then a visable window comes up and the macro gets stuck in the loop waiting for the page to load.

Why does this happen on my Laptop and not the other four computers?
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,226,730
Messages
6,192,702
Members
453,748
Latest member
akhtarf3

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