I am trying running a piece of VBA code in excel 2013 to access some data from our intranet site and I am getting a run time error 2147467259 (80004005) - Automation error unspecified error.
Sub AccessWar()
Dim oIE As InternetExplorer
Dim oHTML As HTMLDocument
Set oIE = New InternetExplorer
oIE.Navigate ("http://iscls3apps/WAR40/aspx/WAR40AllReports.aspx")
oHTML = oIE.document
End Sub
I am new to excel VBA and do not have much idea. Any pointers would be helpful