+ Reply to Thread
Results 1 to 3 of 3

How to delete many lines efficiently

  1. #1
    Forum Contributor
    Join Date
    09-30-2009
    Location
    Barcelona
    MS-Off Ver
    Excel 2010
    Posts
    274

    How to delete many lines efficiently

    hi,

    I have a macro that clears many lines of a report
    however it takes forever and I am looking for the most efficient way

    I saw somewhere that grouping them in a range and then deleting it should be a good idea, but maybe if it is it makes the whole system irresponsive for too long
    sorting the rows at the end is a good idea? (and then clear contents or so)

    maybe I'll try that, but I'm open to suggestions

    thank you!

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,033

    Re: How to delete many lines efficiently

    You could filter the rows based on your criteria for deletion and then delete the visible rows only.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,864

    Re: How to delete many lines efficiently

    Apart from filtering, sorting the rows is a good idea too. You can either clear or delete them.
    Of course standard mesures, like switching of automatic calculation and screen updating are always worth using.
    Best Regards,

    Kaper

+ 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. Can't delete Lines
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 02-27-2014, 10:31 AM
  2. How to efficiently delete entire rows based on duplicates in one column
    By HughManatee in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-16-2013, 06:53 PM
  3. [SOLVED] Macro to Delete useless lines, rearrange by dates and skip lines between different days.
    By Tmc2159 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-12-2012, 02:15 PM
  4. how to delete lines
    By macedo in forum Excel General
    Replies: 3
    Last Post: 03-21-2012, 08:06 AM
  5. Delete Lines 2
    By RobB11 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2011, 01:20 AM
  6. Delete Lines
    By RobB11 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2011, 02:52 PM
  7. Delete Lines
    By Shark Man in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-13-2010, 02:20 PM
  8. Howcan I delete blank rows efficiently
    By needyourhelp in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-26-2005, 05:19 PM

Tags for this Thread

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