+ Reply to Thread
Results 1 to 2 of 2

Delete only visible cells from a large amount of data

  1. #1
    Forum Contributor
    Join Date
    09-09-2012
    Location
    Manila,Philippines
    MS-Off Ver
    Excel 2003
    Posts
    153

    Delete only visible cells from a large amount of data

    Can someone help me to revise my code to make it run faster in a large amount of data...

    My data usually handles 50K records. The macro seems not working because it took me an hour when it reaches this code:


    Please Login or Register  to view this content.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Delete only visible cells from a large amount of data

    I don't see anything noticeably wrong with the deletion of all the rows at once via an AutoFilter. Perhaps the "lag" is coming from the time it takes your sheet to recalculate after the deletion while still filtered? One thing you can try is setting the calculationmode to manual prior to the deletion, and back to automatic when you're done with all the fiddling.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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. [SOLVED] Find Large value in visible range of cells
    By sbabu16 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2014, 02:52 AM
  2. replacing large amount of cells
    By Lmadahali in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2014, 06:45 PM
  3. Paste a forumla into a large amount of cells
    By Patty McJorst in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-20-2013, 12:00 PM
  4. [SOLVED] using Index, Match, Large, and Visible Cells in one formula
    By jomili in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-10-2013, 01:58 AM
  5. Clear a Large Amount of Cells
    By spl3001 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2008, 06:32 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