Excel crashing on macro execution

  • Thread starter Thread starter Keith74
  • Start date Start date
K

Keith74

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
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top