Macro run much slower under VBA than in Excel

B

Bin

I have a macro that process a data sheet with more than
10000 rows data, create 6 new sheets and copy some data
from the data sheet to them respectively.
When the macro run in Excel, it will take less than 5
Secons. But when run it under a external VBA program, it
will take more than 100 seconds. I have set screenupdating
= false at begining and turn it on at the end, but no any
improvement. Anybody can figure what is the problem and
how to fix? or just improve?
Thanks.
 

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

Top