This macro pulls a stock symbol from the first column of the "ActiveStockSymbols" worksheet. It then goes to the Internet/BarChart.com an gets the historical stock data for the symbol, and inserts the data into the "BackTest" worksheet for processing...… Works great so far! It steps through the list UNTIL it acquires a stock symbol that is no longer active in the stock market. The process comes to a grinding halt. I need to add an error checking routine to catch those symbols, add them to the 1st column in a worksheet called "InvalidStockSymbols" and then get the next symbol from the "ActiveStockSymbols" worksheet and continue through the entire list.
I apologize for the comment lines in the script, but that is the only way I can remember what I was trying to have that section of code do. I have no clue as to how to insert the proper code to accomplish this. This may not be the most efficient code, but it does work.
Any assistance will GREATLY be appreciated.
Don
Bookmarks