Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Does anyone know/are able to write a VBA code that would let the user
type in a date and ticker symbol and have excel automaticly grab the historical quote off of Yahoo!Finance ? i.e. type "8/29/2005" in A1 and "MSFT" is B1 and have the adj. Close appear in C1... Any help would be greatly appreciated. Take a look at http://www.trading-tools.com With the product "MetaLib" you can download historical stock quotes from Yahoo and import them in Excel. Here is a sample code: Dim IQuotes As New MLInternetQuotes IQuotes.DownloadQuotes "MSFT", US Sheets(1).Range("A1").Value = IQuotes.iDate Sheets(1).Range("B1").Value = IQuotes.dOpen Sheets(1).Range("C1").Value = IQuotes.dClose Sheets(1).Range("D1").Value = IQuotes.dVolume etc. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do i get historical stock quotes using MSN Money Stock Quotes | Excel Discussion (Misc queries) | |||
Specific date stock quotes (historical) in excel??? | Excel Discussion (Misc queries) | |||
VBA Code To Import Historical Stock Quotes In Excel | Excel Programming | |||
Historical Stock Quotes - Yahoo Finance | Excel Programming | |||
MSN MoneyCentral Stock Quotes support historical price look-ups | Excel Worksheet Functions |