View Single Post
 
Old 07-11-2015, 09:34 PM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

The error appears to relate to the macro trying and failing to open a second instance of IE. Try the following instead
Code:
Dim myIE As Object
Dim redURL As String
    redURL = "http://www.gmayor.com/Word_pages.htm"
    On Error Resume Next
    Set myIE = GetObject(, "InternetExplorer.Application")
    If Err Then
        Set myIE = CreateObject("InternetExplorer.Application")
    End If
    On Error GoTo 0
    myIE.Visible = True
    myIE.Navigate redURL

    Do While myIE.Busy
    Loop
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote