+ Reply to Thread
Results 1 to 5 of 5

Deleting rows by specific values very slow

  1. #1
    Forum Contributor
    Join Date
    01-28-2010
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2013
    Posts
    200

    Deleting rows by specific values very slow

    Hello,

    I am using the following code to delete rows that are useless to me:

    Please Login or Register  to view this content.
    It is extremely slow having to go row by row through 100k rows. Is there a better way to speed up this type of process? One advantage is that the 0's being searched for are in large groups together typically because this is an unpivot of crosstabular data. Thanks!

  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: Deleting rows by specific values very slow

    Does this help?

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    01-28-2010
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2013
    Posts
    200

    Re: Deleting rows by specific values very slow

    repped
    Significantly sped it up - thank you.
    Last edited by jeffreybrown; 05-31-2017 at 01:14 PM. Reason: Removed full quote

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Deleting rows by specific values very slow

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    HTH
    Regards, Jeff

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

    Re: Deleting rows by specific values very slow

    You're welcome. Glad to help out and thanks for the feedback. As Jeff said please mark this thread as SOLVED.

+ 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. Deleting rows = VERY SLOW RUN TIME
    By karacooks in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-02-2016, 09:49 PM
  2. Deleting specific rows
    By divalasvegas in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-04-2013, 01:57 AM
  3. Deleting rows if specific cell is blank or have specific text
    By JoaoFerreira1985 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-11-2013, 01:18 PM
  4. Deleting rows in Excel 2007 extremely slow
    By olavito in forum Excel General
    Replies: 4
    Last Post: 06-05-2009, 02:11 AM
  5. Deleting Specific Rows
    By Desi_bhai in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-18-2007, 09:33 AM
  6. [SOLVED] Deleting rows with specific values
    By whatzzup in forum Excel General
    Replies: 1
    Last Post: 07-06-2006, 05:40 AM
  7. Deleting Specific Rows
    By ScaffoldingDepot in forum Excel General
    Replies: 2
    Last Post: 05-04-2005, 12:06 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