!VBA - Looping a web query with referenced cells

Crazzled

New Member
Joined
Oct 4, 2013
Messages
7
Sorry if this is in the wrong place, I'm a first time poster. After a few guides I'm still having trouble doing what I set out to do.

I'll start off with the basis on the spread sheet, so let's say in Excel, I have;


AB
1PlaceBHX1
2Date From04/10/13
3Time From21:00:00
4Date To05/10/13
5Time To03:00:00
6
7User
8JohnSmith
9JaneDoe
10...

<tbody>
</tbody>


I'm trying to create a macro that will generate, a web query, onto a new page, a table from;

https://bhx1-portal.com/fc-cgi/pick...om=10/05/2013+00:00:00&to=10/05/2013+21:38:29

Where the date is taken from the cells above. Then I would like it to take the value of JohnSmith directly from the A8 cell and for it to loop for A9, A10, A11... Until the value taken is blank.

Any ideas? Anyone that does answer is it possible you could explain it? So I can develop the knowledge?

Thank you!
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,215,272
Messages
6,123,981
Members
449,138
Latest member
abdahsankhan

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