View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Southern at Heart Southern at Heart is offline
external usenet poster
 
Posts: 25
Default Frastrating-doesn't give all the data

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?