You can use an xmlhttp object instead if what you want is the source
Sub Tester()
MsgBox GetSource("http://www.google.com")
End Sub
Function GetSource(sURL As String) As String
Dim oXHTTP As Object
Set oXHTTP = CreateObject("MSXML2.XMLHTTP")
oXHTTP.Open "GET", sURL, False
oXHTTP.send
GetSource = oXHTTP.responsetext
Set oXHTTP = Nothing
End Function
Tim
"tx12345" wrote in
message ...
Hi
I know you can open a web page into Excel by simply entering a web
address. But is there a way to tell Excel to import the source code
instead?
Thx
--
tx12345
------------------------------------------------------------------------
tx12345's Profile:
http://www.excelforum.com/member.php...o&userid=24776
View this thread: http://www.excelforum.com/showthread...hreadid=503702