Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to remove headers when importing from an external source? | Excel Worksheet Functions | |||
Importing Alan Beban's code on Arrays; Importing a module or a project | Excel Worksheet Functions | |||
Importing Selected Source Book Data | Excel Discussion (Misc queries) | |||
Viewing source code when saved as web page | Excel Discussion (Misc queries) | |||
Importing data from external source | Excel Programming |