ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel crashing on macro execution (https://www.excelbanter.com/excel-programming/390720-excel-crashing-macro-execution.html)

Keith74

Excel crashing on macro execution
 
Hi There

I have a collection containing about 34000 items and a for each loop
that runs for every item in the collection to update in individual
record in a sql database. For some reason excel hangs everytime i run
the code, the code itself works fine when you step through it but
excel goes boom left to its own devices. Any ideas ?????

cheers

Keith


Keith74

Excel crashing on macro execution
 
Worked it out.

The code was actually still running but because it was using all its
capability on the macro it was "Not Responding" to any user action
while the code was running.





All times are GMT +1. The time now is 05:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com