+ Reply to Thread
Results 1 to 4 of 4

Speeding up a delete rows VBA....

  1. #1
    Forum Contributor
    Join Date
    10-12-2012
    Location
    Bournemouth
    MS-Off Ver
    Excel 2010 / Excel 2007
    Posts
    126

    Speeding up a delete rows VBA....

    Hey All - happy friday!

    I have created a work book that runs a report based on criteria input from a userform - all works fine and does what I need it to do.

    The only issue is, the first code to remove data where column N contains "N" works really slow - I have one that runs afterwards that deletes a few other rows and this one runs quite fast - but I am using the same code.

    The issue is, the first time it runs, there is probably around 6,000 rows of data - but the first one gets it down to around 2,000 - so I know thats why the second runs a bit quicker. But out of curiosity, is there a way of making the code run a bit quicker?

    the current code I am using is

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Speeding up a delete rows VBA....

    Maybe:

    Please Login or Register  to view this content.
    Last edited by JOHN H. DAVIS; 10-18-2013 at 08:03 AM.

  3. #3
    Forum Contributor
    Join Date
    10-12-2012
    Location
    Bournemouth
    MS-Off Ver
    Excel 2010 / Excel 2007
    Posts
    126

    Re: Speeding up a delete rows VBA....

    Wow - fantsatic - thanks so much - that was amazing quick - blinked and actually missed it!!

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Speeding up a delete rows VBA....

    You're welcome. Glad to help out and thanks for the feedback.

+ 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. Replies: 5
    Last Post: 11-12-2012, 08:38 PM
  2. [SOLVED] Speeding up Macro that Hides Rows when Range ("B178:B477") contains a zero value
    By SoteriaLive in forum Excel Programming / VBA / Macros
    Replies: 28
    Last Post: 09-26-2012, 04:02 PM
  3. Macro to delete certain columns and delete rows based on time in another column
    By beepbeep27 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-12-2012, 11:47 AM
  4. delete duplicate rows, delete empty rows
    By loade in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-03-2012, 05:42 AM
  5. Speeding up Find Cut/Paste Rows
    By jaimie1664 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-26-2011, 11:46 AM

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