+ Reply to Thread
Results 1 to 2 of 2

Pull Stock Prices with VBA

  1. #1
    Registered User
    Join Date
    06-25-2015
    Location
    Boston
    MS-Off Ver
    2016
    Posts
    4

    Pull Stock Prices with VBA

    I'm looking to create a macro that pulls daily, weekly, and monthly historical stock prices into three separate tabs. I want to be able to enter a company ticker and an "as of date" and have the macro pull from a website. I'd like the macro to be able to pull 10 years worth of historical stock data in the format shown in here at the following URL (i.e. open, high, low, close, volume, etc.). https://finance.yahoo.com/quote/TXT/history?ltr=1.

    Does anyone know if such a macro already exists or could anyone provide advice?

  2. #2
    Forum Contributor
    Join Date
    01-05-2017
    Location
    New York
    MS-Off Ver
    Office 2016
    Posts
    206

    Re: Pull Stock Prices with VBA

    As a basis to start from, you might want to take a look at this page: http://chandoo.org/wp/2010/06/02/excel-stock-quotes/

    and that page goes together with the attached sheet:
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Trying to build Function to calculate average of stock returns, with stock prices as input
    By jameslaughlin129 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-16-2017, 05:18 PM
  2. Pull Share (Stock) Prices from Yahoo! Finance
    By DJB in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-11-2015, 09:13 AM
  3. VBA Code to pull Stock Balance Sheet Data from a Stock Symbol in a cell
    By akash1229 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 02-27-2015, 04:37 PM
  4. Stock Prices import
    By roger00782006 in forum Excel General
    Replies: 9
    Last Post: 12-09-2010, 11:23 AM
  5. Importing AUS stock prices
    By oldpos in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-21-2008, 07:56 AM
  6. Excel 2007 : Downloading Stock Prices
    By Rayddd in forum Excel General
    Replies: 3
    Last Post: 10-17-2008, 10:32 AM
  7. historical stock prices
    By Stevo in forum Excel General
    Replies: 1
    Last Post: 01-24-2005, 12:06 PM

Tags for this Thread

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