Access individual tables within a web query

Maikell

New Member
Joined
Dec 3, 2009
Messages
1
Hi all,

I've set up a web query in VBA, which works fine, but I'd like to know if and how I can access the data within the query directly from VBA.

I think it uses a recordset but can't seem to get to it, I'm not too skilled at the topic.

Point is that I retrieve all tables from a web page. Although the data I use are usually in table #5, sometimes they go to another table. Therefore, after the web query, my code would go to table #5 and look for the data there. Only if it doesn't find it there should it try to search for it in other tables...

Hope someone can help :) Best regards and thank you for your time.

Miguel.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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
Back
Top