Insufficient system resources

somebody

New Member
Joined
Jun 25, 2011
Messages
2
I’m getting an error message that says that my network drives are not accessible. “Insufficient system resources exist to complete the request.”

I am running a macro in excel that takes a large amount of data and runs a loop witch filters the data by unit number, copies the filter area, pasts the filtered data into another work book, names the new work book accordingly, saves it onto a network drive, and closes the newly created work book.

I was told that at one time it did work however, now every time it reaches 84 to 87 units the macro stops because I am denied access to my network drives and can’t save the created work book.

Running the macro doesn’t just not allow me to save anything to the network drives but denies me access my network drives. In order to access those drives I have to restart my computer.

I have moved everything onto my hard drive, including the macro, the data, and changed the path where it will be saved so that the network drives are not even touched, but the macro still shuts down the network drives. It happened at the same place at around 84 to 87 units for which every unit it opens up a new work book.

One of the things that might be stopping the macro is if Excel has some limitation to how many work books it can be opened in a session. Does anybody know if this limitation in the number of workbooks or worksheets exists? I am also looking for other suggestions on how to debug this macro or possible solutions.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
I have office 2007 and it creates, saves, and closes one at a time, however I still see the default tittle increasing and it never goes past about 87.
 
Upvote 0

Forum statistics

Threads
1,224,592
Messages
6,179,787
Members
452,942
Latest member
VijayNewtoExcel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top