Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Web Query, Help!

I'm currently trying to create an excel sheet that will record the
internet bandwidth from a website (http://reviews.cnet.com/
7004-7254_7-0.html) every 15 minutes until I save and close the
document. I have tried web queries, using the below code:

WEB
1
http://reviews.cnet.com/7018-7254_7-0.html?start=1&ac=["AreaCode","Enter
Area Code"]&CType=5732&ISPID=&ISPNAME=&submit=Go

Selection=false
Formatting=All
PreFormattedTextToColumns=True
ConsecutiveDelimitersAsOne=True
SingleBlockTextImport=False
DisableDateRecognition=TRUE
DisableRedirections=FALSE


The problem is that the data returned from the site is actually the
URL itself, ie http://reviews.cnet.com/7009-7254_7-...&kbps=389 6.8
for area code 615. My dilemma is that I do not know how to read the
address/URL to which I was redirected (I receive an error message that
says "This web query returned no data....").

It is important that I use the bandwidth test through this specific
website, so I'm in a real pickle.


Please help!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default Web Query, Help!

Hi, in my opinion, you have to use the IE control to navigate to the site and
when it returns the data in the url, you can use the methods of the IE
control to access the url and then you can parse the required data using the
various string functions.

"andrewman" wrote:

I'm currently trying to create an excel sheet that will record the
internet bandwidth from a website (http://reviews.cnet.com/
7004-7254_7-0.html) every 15 minutes until I save and close the
document. I have tried web queries, using the below code:

WEB
1
http://reviews.cnet.com/7018-7254_7-0.html?start=1&ac=["AreaCode","Enter
Area Code"]&CType=5732&ISPID=&ISPNAME=&submit=Go

Selection=false
Formatting=All
PreFormattedTextToColumns=True
ConsecutiveDelimitersAsOne=True
SingleBlockTextImport=False
DisableDateRecognition=TRUE
DisableRedirections=FALSE


The problem is that the data returned from the site is actually the
URL itself, ie http://reviews.cnet.com/7009-7254_7-...&kbps=389 6.8
for area code 615. My dilemma is that I do not know how to read the
address/URL to which I was redirected (I receive an error message that
says "This web query returned no data....").

It is important that I use the bandwidth test through this specific
website, so I'm in a real pickle.


Please help!


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
Convert hard coded query criteria to Parameter Query Melanie[_2_] Excel Discussion (Misc queries) 0 July 15th 08 09:59 PM
Excel 2007 / MS Query - editing existing query to another sheet Hotpepperz Excel Discussion (Misc queries) 0 June 13th 08 06:53 PM
Microsoft Query rejects "nz" function in Access Query Vaughan Excel Discussion (Misc queries) 0 May 4th 05 05:20 PM
How to use a Access Query that as a parameter into Excel database query Karen Middleton Excel Discussion (Misc queries) 1 December 13th 04 07:54 PM
Stop to modify the SQL query manually entered into query ! Olivier Rollet Excel Programming 6 November 3rd 04 08:34 AM


All times are GMT +1. The time now is 01:19 AM.

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"