+ Reply to Thread
Results 1 to 7 of 7

Is this doable with Excel Macros: Retrieve data from Yahoo Finance Stock into Excel

Hybrid View

HamzaAliAhmad Is this doable with Excel... 11-13-2014, 07:31 AM
Jack7774 Re: Is this doable with Excel... 11-13-2014, 11:22 AM
HamzaAliAhmad Re: Is this doable with Excel... 11-13-2014, 11:33 AM
Jack7774 Re: Is this doable with Excel... 11-13-2014, 11:53 AM
HamzaAliAhmad Re: Is this doable with Excel... 11-17-2014, 07:53 AM
Jack7774 Re: Is this doable with Excel... 11-17-2014, 02:06 PM
Jack7774 Re: Is this doable with Excel... 11-19-2014, 05:18 PM
  1. #1
    Registered User
    Join Date
    11-13-2014
    Location
    London
    MS-Off Ver
    2010
    Posts
    3

    Is this doable with Excel Macros: Retrieve data from Yahoo Finance Stock into Excel

    Hi guys,

    Brand new here and just trying to resolve whether or not this is possible.

    I am trying to have an excel file with two sheets.

    Sheet A retrieves historical data from a stock and is updated once a day.
    Sheet B retrieves real time data and is updated every 5 seconds.

    What I am trying to do is connect this to a visualisation tool and use it for real time analysis.

    The catch is, I've seen ways of doing this and have it be updated in row. But I can't figure out how to have the new info push down the previous row and replace the info in the top one.

    Any insight to if this is possible? The information would come from the Yahoo Stock Finance API through Yahoo Query Language.

    Thanks for any insights or help!

  2. #2
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: Is this doable with Excel Macros: Retrieve data from Yahoo Finance Stock into Excel

    If you already have a macro and spreadsheet that does this an easier way to help you would be to upload the worksheet with the macro and then someone could just edit it for you.
    Thank those who have helped you by clicking the Star * below their name and please mark your post [SOLVED] if it has been answered satisfactorily.

  3. #3
    Registered User
    Join Date
    11-13-2014
    Location
    London
    MS-Off Ver
    2010
    Posts
    3

    Re: Is this doable with Excel Macros: Retrieve data from Yahoo Finance Stock into Excel

    Quote Originally Posted by jessebranum777 View Post
    If you already have a macro and spreadsheet that does this an easier way to help you would be to upload the worksheet with the macro and then someone could just edit it for you.
    Hi Jesse,

    It is for a thesis so I need to do the editing etc. myself. I am more looking for insight if it is possible and what kind of procedure would be best for something like this - any insights?

  4. #4
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: Is this doable with Excel Macros: Retrieve data from Yahoo Finance Stock into Excel

    Well on the macro somewhere before it pastes the data onto the spreadsheet you could put this line below before it pastes the new data and hopefully it won't paste over the previous data.

    Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove

  5. #5
    Registered User
    Join Date
    11-13-2014
    Location
    London
    MS-Off Ver
    2010
    Posts
    3

    Re: Is this doable with Excel Macros: Retrieve data from Yahoo Finance Stock into Excel

    Hi again Jesse,

    I added my excel sheet and the whole point is when it presses the "Refresh button" it adds a new row under #1 (information that was previously in rw #2 and cells B2 - M2 gets copied to next row) then fills in "QLIK" once a day in A2 which will then populate new info and be eventually be moved the rest down which creates a historical tracking of the information about the stock.

    Test 2.xlsm
    Last edited by HamzaAliAhmad; 11-17-2014 at 07:56 AM.

  6. #6
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: Is this doable with Excel Macros: Retrieve data from Yahoo Finance Stock into Excel

    Modify that line to say this instead so it moves all the cells you want down instead of just that one. Is that what your looking for?

    Range("A2:M2").Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove

  7. #7
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: Is this doable with Excel Macros: Retrieve data from Yahoo Finance Stock into Excel

    If this met your desired solution please click on the * to thank those whom have helped you by giving them rep and mark the thread as solved. Thanks.

+ 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. Extracting Stock Data from Yahoo Finance
    By Alex Fernandes in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-27-2013, 05:20 AM
  2. Is that possible to import all the stock symbols from yahoo finance?
    By x69chen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-14-2013, 12:43 AM
  3. Getting real time stock quotes from google finance / yahoo finance in excel
    By Navin Agrawal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-21-2012, 12:41 PM
  4. Getting EOD stock quotes from Yahoo finance into excel
    By shravank30 in forum Excel General
    Replies: 0
    Last Post: 11-29-2007, 01:44 AM
  5. importing/ analyzing Yahoo!Finance stock data
    By Paul987 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-17-2006, 12:18 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