Hello
I have this code that works exactly as I want it to, but slowly. It takes about 10 or so seconds to run. What options do I have to make it run faster.
Thanks.
Please Login or Register to view this content.
Hello
I have this code that works exactly as I want it to, but slowly. It takes about 10 or so seconds to run. What options do I have to make it run faster.
Thanks.
Please Login or Register to view this content.
Try this...
Please Login or Register to view this content.
If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
Mark your thread as Solved
If the suggestion helps you, then Click *below to Add Reputation
You could get rid of Select, turn off screen updating, set calculation to manual...
In the following I've not changed the code after the loop as it's not clear what's being copied.
Another thing you could consider is using a filter.Please Login or Register to view this content.
Last edited by Norie; 02-20-2013 at 06:09 AM.
If posting code please use code tags, see here.
It was actually taking up to 20 seconds to run.
Sixthsense - your code took about five seconds off - thankyou
Norie - yours bought it down to about 1.5 - thankyou
Learning a lot about vba, but stil got a long way to go. I'm going to study your responses to try and make it better in the future.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks