+ Reply to Thread
Results 1 to 4 of 4

Real-time Stock Prices

  1. #1
    Registered User
    Join Date
    05-26-2014
    Posts
    14

    Real-time Stock Prices

    Hi guys,

    I'm tracking my stock portfolio in an Excel sheet, and I wanted to know if there is a way to put a URL or formula in the sheet such that when the workbook is opened it automatically fetches the latest price.

    I've tried many guides for this online, but none have worked so far. Let's take the VYM ticker for example.

    Your help is much appreciated, and thanks in advance!

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Real-time Stock Prices

    Where are you getting your quotes from currently? It might be possible by using web queries and then using VBA to automatically refresh the queries when the file is opened, or by using VBA to directly fetch the HTML and then parse the HTML.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    05-26-2014
    Posts
    14

    Re: Real-time Stock Prices

    Quote Originally Posted by 6StringJazzer View Post
    Where are you getting your quotes from currently? It might be possible by using web queries and then using VBA to automatically refresh the queries when the file is opened, or by using VBA to directly fetch the HTML and then parse the HTML.
    It doesn't matter, I don't mind getting my quotes from any page. I guess I can get them from where it is easiest to work with in Excel, but ideally Google Finance.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Real-time Stock Prices

    I looked at a couple of finance pages but don't see a straightforward way to grab the current trading price for multiple stocks with a web query. I think it needs VBA to parse the HTML, which I don't have experience with.

+ 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. Replies: 5
    Last Post: 12-11-2013, 09:56 AM
  2. Charting real-time DDE stock prices
    By shawnh in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 03-01-2010, 06:06 PM
  3. [SOLVED] Graphing A Time Series of Multiple Stock Prices
    By Alex in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 07:05 AM
  4. [SOLVED] Graphing A Time Series of Multiple Stock Prices
    By carl in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  5. [SOLVED] Graphing A Time Series of Multiple Stock Prices
    By carl in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

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