I am trying to write a macro that will create several web queries. The urls will be the something like "www.example.com/xxxx"
The xxxx will change depending on cell values. On sheet "numbers" I have a series of numbers that start on A2 and go down an x amount of cells
For instance:
A2=1234
A3=2345
A4=4578
A5=3497
the urls would be: www.example.com/1234, www.example.com/2345, etc.
My question is, how do I get a vba macro to cycle through each possible url and create a web query. The amount of numbers in Column A always change, so I would want the look to end when there is a blank cell.
The xxxx will change depending on cell values. On sheet "numbers" I have a series of numbers that start on A2 and go down an x amount of cells
For instance:
A2=1234
A3=2345
A4=4578
A5=3497
the urls would be: www.example.com/1234, www.example.com/2345, etc.
My question is, how do I get a vba macro to cycle through each possible url and create a web query. The amount of numbers in Column A always change, so I would want the look to end when there is a blank cell.