+ Reply to Thread
Results 1 to 3 of 3

Speeding up loop code

  1. #1
    Registered User
    Join Date
    05-22-2012
    Location
    Lincoln, NE
    MS-Off Ver
    Excel 2010
    Posts
    11

    Speeding up loop code

    I'm currently running code which compares two columns from different worksheets, "Original" and "Updated", and copies the entire row to a new sheet when a match is found. When running through tens of thousands of rows, the code takes too long to execute. I know this can be sped up using arrays, but I'm not too familiar with working with arrays yet. Could someone help me out? Code is below.

    Please Login or Register  to view this content.
    Thanks

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Speeding up loop code

    Hi, Mrowe. Maybe this option will be faster, try
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-22-2012
    Location
    Lincoln, NE
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Speeding up loop code

    Worked perfectly, thank you nilem.

+ 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