Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Import from a web page..?

Status
Not open for further replies.

DerickD

IS-IT--Management
Sep 19, 2002
93
LU
Hi all,

Thanks for taking the time..... ;)

I am wanting to gether data from a web page that contains information regarding weather. It is possible to access this data unrestricted and with no copywrite so I am asking for you help.

The Data is spread over many pages and it is just a matter of changing a couple of numbers for each page.

Here is an example :


I want to gether information for each day of the year...so I would want to have something like this :

Dim myDay
Dim myMonth
Dim myYear

myYear = 2002
myMonth = 1
myDay = 1

Do While myMonth <12
Do Wile myDay < 31

Import...blah..&quot; & myMonth & &quot;&day=&quot; & myDay & &quot;&year=&quot; & myYear & &quot;&format=1&quot;

myDay = myDay +1
loop

myDay = 1
myMonth = myMonth + 1
loop


This would then loop and import all the data for each day of 2002.

Does any one know how this could be done...using VBA in access or in any other MS application.

Thanks for the help,
derickd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top