+ Reply to Thread
Results 1 to 3 of 3

VBA Delete Row Code - Need more efficient code to speed it up

  1. #1
    Registered User
    Join Date
    05-02-2009
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    11

    VBA Delete Row Code - Need more efficient code to speed it up

    I use the following to search 5000 rows and delete those that contain "YES" in column N. It is VERY VERY VERY slow, looking for optimization suggestions.

    Thanks

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: VBA Delete Row Code - Need more efficient code to speed it up

    Assuming you have a header in row 1.


    Please Login or Register  to view this content.
    OR

    Please Login or Register  to view this content.
    Last edited by AB33; 07-02-2015 at 04:09 PM.

  3. #3
    Registered User
    Join Date
    05-02-2009
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: VBA Delete Row Code - Need more efficient code to speed it up

    Wow, Amazing. I tried the first one and it worked perfectly and so much quicker than going line by line. Thanks for the quick response.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Slow code- making code more efficient
    By ammartino44 in forum Excel General
    Replies: 4
    Last Post: 05-06-2015, 12:47 PM
  2. Making range delete code more efficient
    By Geoff. in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-17-2014, 04:59 PM
  3. [SOLVED] Trying to change verbose looping code into more efficient (and shorter) code please
    By dawatcher in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-03-2013, 07:43 AM
  4. VBA Code More Efficient
    By pickledmuffin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-27-2008, 04:37 AM
  5. Efficient Code
    By GregR in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-27-2005, 12:05 PM

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