Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
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?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Frastrating-doesn't give all the data


I found some notes at the MSDN website that said :

Change GET ot POST


POST works properly with multiple requessts to the same object. GE
does not. So try POST when you experience problems

--
joe
-----------------------------------------------------------------------
joel's Profile: 22
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=17066

[url="http://www.thecodecage.com"]Microsoft Office Help[/url

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need two different data types to give me a total silk723 Excel Worksheet Functions 6 November 19th 09 03:06 PM
How to give a value to a range of data? pemt Excel Discussion (Misc queries) 0 July 21st 09 09:11 PM
Is there a formula that I can use that will give the row data? ej Excel Programming 3 September 26th 07 01:36 PM
Give RELEVANT responses to questions. DO NOT give usless list pmartin Excel Worksheet Functions 2 July 6th 06 06:08 PM
can you count data in a cell to give a value? Rudi Excel Worksheet Functions 3 May 13th 06 01:16 AM


All times are GMT +1. The time now is 08:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"