Created a macro to update end of day (EOD) info for stock prices. I'm able to manually change the stock symbol within the URL line found in the macro to retrieve another stocks data but i want to be able to reference a cell in my spreadsheet instead of having to manually enter within the macro.
This is a line from the macro that actually retrieves the info from the web:
"URL;http://ichart.finance.yahoo.com/table.csv?s=GM&a=00&b=2&c=2005&d=06&e=29&f=2020&g=d&ignore=.csv", Destination:=Range("a1"))
To get data for another stock, i would manually change the "GM" (General Motors Corp) in this line to another stock symbol of interest. How do i automate the process so that it will reference a cell instead?
Thanks for any help,
Impala
Bookmarks