View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Don Guillett[_4_] Don Guillett[_4_] is offline
external usenet poster
 
Posts: 2,337
Default Looping Web Query

..name simply refers to the name of the query (unnecessary anyway) so it
wouldn't help you. I will take a look at your url to see if I can help.

--
Don Guillett
SalesAid Software

"Pete" wrote in message
...
Here is what I got so far...

Range("C1").Select
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;
http://sports.espn.go.com/nfl/players?
league=nfl", _
Destination:=Range("C1"))
.Name = Range("A1")
.WebTables = "2,5"
End With

Not much I know... but it shows where I am with this.
Range A1 has the player name in it. Cell C1 is where I
wnt the info to go for that particular player. The info I
bring in just happens to take up 13 cells straight down.

Pete
-----Original Message-----
More info along with your macro and urls for comments

--
Don Guillett
SalesAid Software

"Pete" wrote in

message
...
This one might not be possible, but I thought I would

try.

I want to analize some data in excel that is taken off
the web but first I need to inport the data into one
master database. My problem is that I need to inport
roughtly 55-60 different pieces or files of info and

each
piece of info is linked to another web
address "Hyperlinded". I have the Web address (located

in
cell A1) I need to go to start with and also a list of
names (located in Cells A2:A60) that I need to click on
to get the appropriate info.

How can I tell the web query to goto this particular

wed
site find the first name in cell A2 open that new

address
and inport a particular chart in the first avalilbe

cell
in coloum C?

I have tried recording this and inserting loop statment
to keep going but it just doesn't work for me.

Any help or guidance is appreciated.
Best regards,
Pete



.