+ Reply to Thread
Results 1 to 2 of 2

VBA deleting columns with formula #N/A took long time

  1. #1
    Registered User
    Join Date
    01-11-2014
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    44

    VBA deleting columns with formula #N/A took long time

    HI,

    I have a data of 50k rows with vlookup formula under column M. I am using below code to filter column M with #N/A and delete visible cells. But my excel hang for a long time after executing the code. Need help on how to speed up the deletion.
    Attached Files Attached Files
    Last edited by yankiessg; 12-26-2019 at 12:49 PM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,462

    Re: VBA deleting columns with formula #N/A took long time

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

+ 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] Long macro process time for deleting rows
    By WoolyFox in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-30-2019, 10:30 AM
  2. Strange case: deleting columns takes long time
    By JackBauer in forum Excel General
    Replies: 4
    Last Post: 08-29-2019, 01:36 AM
  3. Calculation of Formula takes a long time
    By Surendra.mishra7 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-26-2019, 03:18 PM
  4. [SOLVED] Formula too long? Run-time error '1004'
    By Michela in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-12-2017, 06:53 AM
  5. Sumproct, sumif indirect formula long run time.
    By avk in forum Excel General
    Replies: 4
    Last Post: 12-29-2012, 04:10 AM
  6. Frequency Formula takes long time to calculate
    By janetp3 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-18-2010, 05:15 PM
  7. Replies: 2
    Last Post: 04-05-2006, 01:00 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