Download and consolidate table data from dynamic URL's VBA

mikehuan

New Member
Joined
Jun 30, 2014
Messages
1
1st timer here, great forum.

I've come so close to figuring this out, but the nature of the URL's I'm visiting is making it tough.

I have a list of about 400 profile names. The profiles public information is avaible by visiting a page like www.example.com/profile=XXXXX, where XXXXX is the profile name.

I'd like to automate the process of visiting each of these pages, and importing the table data into excel (table number 136 on each page).

Bonus: I need to consolidate all of these tables. The original will be something like this:

Company name: Bob Co
City: New York
Website: bobco

And I need to eventually have the information from all 400 tables consolidated into a more traditional spreadsheet format (with company name, city, website each being their own columns).

Any help would be excellent. The closest I've come to success is having excel prompt me with a dialogue box with the profile name, and then it automatically creates a new worksheet with the correct table. If I can automate this process so it rips through the whole list of usernames (and consolidates the tables) that would be a huge help.


Thanks very much.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,215,148
Messages
6,123,301
Members
449,095
Latest member
Chestertim

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