ShaunC
02-18-2012, 08:33 PM
Hi All
I am in a situation I had not given any consideration to.
I have developed a spreadsheet which tracks stocks on the Australian Stock Exchange through Yahoo Finance. I ran the VBA code in full for the first time yesterday. It had been running for somewhere in the order of 10hrs, querying Yahoo for data and setting up the worksheets, when I stopped the code and saved the file. At this point the spreadsheet has 874 (of about 2300) worksheets and the file is about 330mb.
I continued the code and at midnight last night stopped the code and tried to save, at this stage there were 990 worksheets. I tried to save and the error message I received was something in the order of "there are not enough resources to save the file, close so applications and retry".
The issue being that Excel was the only application running as everything was turned off (including programs running in background). This would suggest that my PC is the limitation here, however looking at the windows system analysis items, when I tried to save, the CPU went 100%, ram still had about 9gb free and everything else was seemed fine.
System is an Intel i960, 12 gb ram, primary drive 1 tb with just under 900gb free, 2 nVidia 9500GT cards in sli (not sure if relevant).
So, either my PC cannot handle the amount of data coming in or Excel cannot. Either way, I need to try something. It would seem logical to store the data in a database and give excel access to the database to chart the data.
My query is, am I likely to run into the same problem if I use Access to do what I currently have Excel doing? I took me and another guy about fourth months to complete the spreadsheet on and off.
Cheers
Shaun
I am in a situation I had not given any consideration to.
I have developed a spreadsheet which tracks stocks on the Australian Stock Exchange through Yahoo Finance. I ran the VBA code in full for the first time yesterday. It had been running for somewhere in the order of 10hrs, querying Yahoo for data and setting up the worksheets, when I stopped the code and saved the file. At this point the spreadsheet has 874 (of about 2300) worksheets and the file is about 330mb.
I continued the code and at midnight last night stopped the code and tried to save, at this stage there were 990 worksheets. I tried to save and the error message I received was something in the order of "there are not enough resources to save the file, close so applications and retry".
The issue being that Excel was the only application running as everything was turned off (including programs running in background). This would suggest that my PC is the limitation here, however looking at the windows system analysis items, when I tried to save, the CPU went 100%, ram still had about 9gb free and everything else was seemed fine.
System is an Intel i960, 12 gb ram, primary drive 1 tb with just under 900gb free, 2 nVidia 9500GT cards in sli (not sure if relevant).
So, either my PC cannot handle the amount of data coming in or Excel cannot. Either way, I need to try something. It would seem logical to store the data in a database and give excel access to the database to chart the data.
My query is, am I likely to run into the same problem if I use Access to do what I currently have Excel doing? I took me and another guy about fourth months to complete the spreadsheet on and off.
Cheers
Shaun