Downloading data from Web into Excel
Hi,
HiBelow is an example of a dummy web site that I want to connect to and download the data. What I want to do is execute that code in a loop, increasing the highlighted number by 1. So next time I call the web site the number is 11, then 12, 13, 14 and so on. What is the best way to achieve this?
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://www.abc.com/rates.cfm?action=view&RateCode=10" _
, Destination:=Range("A1"))
.Name = _
"rates.cfm?action=view&RateCode=10"
Thank you for your help in advance.
Regards,
Blase
|