Hi Experts,
Every time I run the following code, since the internet explorer is not my default browser, the message "Internet Explorer is not currently your default browser. Would you like to make it your default browser?" always comes up.
Private Sub Command1_Click()
Text1 = ""
Dim IE As Object
Set IE = CreateObject("InternetExpl
orer.Appli
cation")
IE.Navigate "
http://free.timeanddate.com/clock/i1up141f/n240/tt1/tw0/tm2"
IE.Toolbar = False
IE.StatusBar = False
IE.MenuBar = False
Do While IE.Busy
Do While IE.Busy
DoEvents
Loop
Loop
Text1 = CDate(IE.Document.getEleme
ntById("t1
").InnerTe
xt)
IE.Quit
Set IE = Nothing
End Sub
How can I suppress or bypass that message with the Internet Explorer as the browser to get the result I want in Text1 ?
or how to use the default browser so the message above would not appear to get the same result in text1 ?
Thanks