+ Reply to Thread
Results 1 to 9 of 9

Automate data from Web

  1. #1
    Registered User
    Join Date
    08-01-2008
    Location
    Long Island
    Posts
    34

    Automate data from Web

    Hi,

    I am completely new to programming and I was hoping someone could either help me get started or reccomend a viable source for an introduction on using macro/VBA. My goal is to populate various workbooks with data from various websites automatically, as I have a lot of websites, a lot of data, and waster a lot of time doing this manually every day. Any help would be greatly appreciated!

    <Matt

  2. #2
    Registered User
    Join Date
    11-21-2008
    Location
    california
    Posts
    10
    The easieest way would be

    Data ---> Import external data ---> new web query

    look for the page you want, select the table and click IMPORT

    it will import it,


    to refresh it simply click DATA --> refresh data

  3. #3
    Registered User
    Join Date
    08-01-2008
    Location
    Long Island
    Posts
    34
    Thanks for the tip, but let me clarify and hopefully you can help me further. I want this data to begin to populate a series, wherein say I have Columns a-v with different data from different sources, and each day I want it to updated so that, if the data started in A1:V1, on day 2 it will insert new data in a1:v1 and shift day 1 data down to a2:v2 and continue in this fashion every day..

    Thanks again!

  4. #4
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    more info needed

    Hi
    Can you give an example URL and the data range you wish to download everyday?
    Ravi

  5. #5
    Registered User
    Join Date
    08-01-2008
    Location
    Long Island
    Posts
    34
    Sure,

    www.yahoo.com/finance,

    then on the rights hand side of the page, there is a "RATES" section, with a 'mortgage' tab. All of these rates would be one such data series out of several I would like to automate daily. Let me know if it would help if I provide others or maybe once you explain how to do it for this one I will be able to figure out how to do it for others by myself. Thanks in advance!

  6. #6
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    macro

    HI
    Click the button in sheet1 to run the macro. It downloads from yahoo finance the table with rates. I found the table numbers (9 to 15) by trial and error.
    Ravi
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    08-01-2008
    Location
    Long Island
    Posts
    34
    Any way you could just copy and paste the text of the macro? I cannot download stuff on this computer....

  8. #8
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    macro to download from web

    Hi
    Here are the codes
    Please Login or Register  to view this content.
    Ravi

  9. #9
    Registered User
    Join Date
    09-23-2008
    Location
    India
    Posts
    3

    Arrow

    Hi:

    Today (26th Nov 08) only I saw ur macro.

    Really fantastic.....

    Me too have a macro similar to these. But I am searching one more change. I need to show the market price up and down by indicating color.

    Like the price goes higher when compared to previous price it shows green else it goes to lower it show red color else it shows the default color.

    But I dont store previous value. The same cell, when it updates it must check the previous values and show it as per above mentioned.

    Thats it my probs....

    Could you let me know please.....????

    Thanks....

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1