Hi, am i glad to find this forum!
I know only how to write functions in VBA, but not do complex VBA codes so here's a kind of problem i'm facing:
I'm trying to create a code to collect MONTHLY closing price stock data from a certain time period X(march 2007 for example) which i can input, till the last month today (october 2010), but i'm trying to make it refresh itself so that every time i click the macro button, and suppose it's november 2010, so it could i think drop all the cells down and then paste the november 2010 monthly data above?
Here are the problems i ran into:
MSN money central seems to be giving me only the quotes from today (live quotes, but not a summary of all quotes from t-1, t-2, t-3 etc)
Yahoo finance seems to give me for some stocks dividend dates which seem to screw up the data a little (but i can correct this part). Here's the problem i can't make it work automatically, i have to manually go to the web query, type the stock ticker in yahoo.finance.com and then get the data, i can't manage to get an automatic way in which i just type the stock name into the excel bracket and then get the data, nor can i automatically manipulate the months or dates for the download.
If you can help me show how to do this for monthly closing prices, i can then do this for yearly and daily open/close/high/low prices etc, which can be really helpful for other people too i think.
Here's my excel file attached
Bookmarks