+ Reply to Thread
Results 1 to 20 of 20

Speed Up VBA Loop Code

Hybrid View

rlsublime Speed Up VBA Loop Code 12-28-2012, 05:51 PM
AB33 Re: Speed Up VBA Loop Code 12-28-2012, 05:57 PM
AB33 Re: Speed Up VBA Loop Code 12-28-2012, 05:59 PM
rlsublime Re: Speed Up VBA Loop Code 12-28-2012, 06:00 PM
rcm Re: Speed Up VBA Loop Code 12-28-2012, 06:01 PM
rlsublime Re: Speed Up VBA Loop Code 12-28-2012, 06:15 PM
jolivanes Re: Speed Up VBA Loop Code 12-28-2012, 06:02 PM
rlsublime Re: Speed Up VBA Loop Code 12-28-2012, 06:06 PM
TMS Re: Speed Up VBA Loop Code 12-28-2012, 06:07 PM
tigeravatar Re: Speed Up VBA Loop Code 12-28-2012, 06:10 PM
Richard Buttrey Re: Speed Up VBA Loop Code 12-28-2012, 06:11 PM
AB33 Re: Speed Up VBA Loop Code 12-28-2012, 06:26 PM
jolivanes Re: Speed Up VBA Loop Code 12-28-2012, 07:15 PM
Richard Buttrey Re: Speed Up VBA Loop Code 12-29-2012, 05:27 AM
OllieB Re: Speed Up VBA Loop Code 12-29-2012, 08:24 AM
jolivanes Re: Speed Up VBA Loop Code 12-29-2012, 01:42 PM
Richard Buttrey Re: Speed Up VBA Loop Code 12-29-2012, 02:26 PM
jolivanes Re: Speed Up VBA Loop Code 12-29-2012, 05:24 PM
Richard Buttrey Re: Speed Up VBA Loop Code 12-29-2012, 06:49 PM
jolivanes Re: Speed Up VBA Loop Code 12-30-2012, 07:20 PM
  1. #1
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,700

    Re: Speed Up VBA Loop Code

    Hi Richard
    That is a considerable difference, 15.7 vs 41.5 seconds. My computer is about 6-7 years old so definitely not the latest screaming fast machine.
    Happy, Healthy and Prosperous 2013 to you and yours.

    John

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Speed Up VBA Loop Code

    Yes, odd indeed. Mine is a 2008 vintage Dell Latitude, so a bit long in the tooth perhaps, but still pretty fast. I wondered if there were other apps running but I don't think so and the slow running was consistently on the macro mentioned - and I tried all of them several times.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,700

    Re: Speed Up VBA Loop Code

    Hi Richard.
    I tried it on my 8 year old laptop (Tecra with 1GB Ram and 1.8 GHz processor) but that has Office 2003 on it so not really a valid comparison.
    I saved the file in .xls format and ran the different scenarios on both computers with pretty well identical results on both.
    0.83 - 0.78 - 1.97 and 0.80 seconds.
    However, because of the less rows in 2003, the range to work on is now only 65,535 cells.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1