Web Query, no check box on table I want.

j4gg3r

New Member
Joined
Jul 31, 2010
Messages
3
Hi there,
I am a complete novice and need some help with the following.

When trying to query http://dreamteam.nrl.com/?p=other_teams&tid=1
only 3 checkboxes appear, the stats table I want to import isn't one of them and remains unselectable.
I have tried using macros, but can't get them to refresh properly when the clipboard has changed.
This leaves me with with no choice but to pull the whole page into Excel which I wouldn't mind if I only had the 1 query, but with 64 sheets of the same type to do the .xls file is becoming too large.

Is there a way to get only the stats table from the above url?










XP, IE8, Excel 2003.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

sumuwin

New Member
Joined
Sep 8, 2009
Messages
38
Hi

you can still get the tables you want by selecting them in the code

For example, the code below should only pick up the expanded stats table. (Table 2 contains the Team summary)

Code:
        .WebSelectionType = xlSpecifiedTables
        .WebTables = "3"


atb
sumuwin
 

Rhino_Dance

Board Regular
Joined
Jul 23, 2008
Messages
74
Can you explain how you knew that setting web.tables="3" would pull the correct table? Thanks.
 

Watch MrExcel Video

Forum statistics

Threads
1,133,639
Messages
5,660,020
Members
418,542
Latest member
Sandy3503

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top