I wrote this macro up in excel 2003, to download a stock's historical data from yahoo. You know when it is unloaded from yahoo it is stored as table.csv. My macro works fine to copy the data from table.csv file into my current worksheet. After this I activate the "table.csv" again and try closing it and at that point of time I get the run time error
run-time error -2147417848 (80010108)': Method "close of object "Window" failed
can someone please help and tell me how to resolve this issue
here is what that piece of code looks like
Bookmarks