S
Southern at Heart
in the example code below, why doesn't it return the whole source of the
webpage
Function Get_Webpage(my_url As String) As Variant
Set my_obj = CreateObject("MSXML2.XMLHTTP")
my_obj.Open "GET", my_url, False
my_obj.Send
Get_Webpage = my_obj.responsetext
Set my_obj = Nothing
End Function
Sub test()
Dim strURL As String
Dim strSource As Variant
strURL = "http://www.gocomics.com/calvinandhobbes/2010/01/15"
strSource = Get_Webpage(strURL)
....
It's like it's truncated or something?
webpage
Function Get_Webpage(my_url As String) As Variant
Set my_obj = CreateObject("MSXML2.XMLHTTP")
my_obj.Open "GET", my_url, False
my_obj.Send
Get_Webpage = my_obj.responsetext
Set my_obj = Nothing
End Function
Sub test()
Dim strURL As String
Dim strSource As Variant
strURL = "http://www.gocomics.com/calvinandhobbes/2010/01/15"
strSource = Get_Webpage(strURL)
....
It's like it's truncated or something?