All,
Is there a faster way to perform the following two loops?
![]()
Please Login or Register to view this content.
All,
Is there a faster way to perform the following two loops?
![]()
Please Login or Register to view this content.
Last edited by PY_; 07-19-2013 at 08:57 AM.
perhaps
have you already turned off screenupdating?![]()
Please Login or Register to view this content.
Josie
if at first you don't succeed try doing it the way your wife told you to
Sorry, yes screen updating is off and so are events.
From what i can tell, you are combining the two loops into one and it only performs one thing else another thing. I need it to perform both loops separately because the second one depends on the first loop's changes.
Good question...haha
For some reason, i had it in my head they were dependent on each other. I guess because the way i did it in my head is the way i did it in code and never looked back. I ran it your way and it did seem to cut the time in half.
If i can do this without violating forum rules, i have a second set of loops that also need another eye to look at. I either run the above loop or the below loop depending on the import i am performing. (Last loop i promise)
![]()
Please Login or Register to view this content.
perhaps
![]()
Please Login or Register to view this content.
That worked as well. It was missing some data when it went from 100 to 1 so i set it back to 1 to 100 and that did the trick.
Thank you JosephP, that did cut down the runtime some and every second i can shave off definitely helps!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks