+ Reply to Thread
Results 1 to 3 of 3

Get closing stock prices from outside data source

  1. #1
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    Get closing stock prices from outside data source

    Symbol……..Date……..Closing_Price
    MSFT……….8/5/08……
    GOOG………7/2/08……
    ORCL……….6/6/08……


    I have a file that I receive every day with ~ 45 rows of data. Column A contains a stock symbol; Column B contains a date. Every day I need to go out to an outside source (such as Yahoo Finance) and get the closing price for each symbol for day indicated and put the results in column C.

    This is very time consuming and takes ~ one hour a day to complete. Does anyone have code already that will pull in the data that I am looking for?

    Thanks.

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387
    maacmaac,

    See my reply and attached workbook, to "RBI", here:
    http://www.excelforum.com/excel-prog...ownloaded.html


    Have a great day,
    Stan
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  3. #3
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173
    Stan, thanks for the great link but not quite what I was looking for.

    I want the code to retrieve all the quotes for the symbols in the list in one shot. So for each symbol in Column A, I want the code the find the closing price only for the the date that is indicated in column B.

    Hope that makes sense.

    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