+ Reply to Thread
Results 1 to 7 of 7

How to delete hidden rows and column fast!?

  1. #1
    Registered User
    Join Date
    09-28-2022
    Location
    Dunedin, New Zealand
    MS-Off Ver
    Microsoft? Word for Microsoft 365 MSO (16.0.14026.20294) 64-bit
    Posts
    2

    Question How to delete hidden rows and column fast!?

    Currently when I filter rows and remove hidden text, I use the document inspector to 'remove hidden rows and columns'.
    Some of my sheets have thousands of rows I am trying to remove, and it takes a painstaking amount of time to remove and freezes my excel temporarily (5-10min).
    Does anyone know any faster or more efficient ways at removing whole rows faster?

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: How to delete hidden rows and column fast!?

    Welcome to the forum.

    You'll need VBA for this. I shall move this to the appropriate forum section.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow Re: How to delete hidden rows and column fast!?


    An easy way is to make the columns & rows to delete only visible via a filter for example like any Excel beginner operating manually
    in order to delete all at once ...
    Another VBA way is the classic sort & clear way, often faster than delete, even faster manually than your actual code !

  4. #4
    Valued Forum Contributor
    Join Date
    08-08-2022
    Location
    Buenos Aires
    MS-Off Ver
    Excel 2019
    Posts
    1,777

    Re: How to delete hidden rows and column fast!?

    Hello.
    The attached model can have both hidden rows (rows that contain 0 in their fifth column) and hidden columns (columns 7 and 8).

    In this case I show you the resulting range to the right of the "real" range.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,519

    Re: How to delete hidden rows and column fast!?

    An example workbook with sufficient amount of data to see the problem, somewhere around 30 rows of data, would help.
    Experience trumps academics every day of the week and twice on Sunday.

  6. #6
    Registered User
    Join Date
    09-28-2022
    Location
    Dunedin, New Zealand
    MS-Off Ver
    Microsoft? Word for Microsoft 365 MSO (16.0.14026.20294) 64-bit
    Posts
    2

    Re: How to delete hidden rows and column fast!?

    Oops sorry, thank you so much

  7. #7
    Valued Forum Contributor
    Join Date
    08-08-2022
    Location
    Buenos Aires
    MS-Off Ver
    Excel 2019
    Posts
    1,777

    Re: How to delete hidden rows and column fast!?

    Quote Originally Posted by fforfrizz View Post
    Oops sorry, thank you so much
    I don't understand! ... That is:

    a) If any of the posts helped you, don't forget to add reputation to that post.

    b) And if none of the messages helped you then: How can we help you?

+ 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] Fast way to delete rows by date criteria
    By ghostly1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-14-2018, 05:31 AM
  2. Replies: 10
    Last Post: 06-07-2018, 04:16 PM
  3. [SOLVED] Delete rows the fast way
    By nikko027 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-07-2018, 09:03 AM
  4. [SOLVED] Delete duplicates but remain only first one from column(B) very fast
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-27-2017, 08:28 AM
  5. Replies: 1
    Last Post: 04-08-2014, 02:50 AM
  6. Replies: 4
    Last Post: 06-11-2010, 03:29 PM
  7. Need a fast way to delete rows
    By glenlee in forum Excel General
    Replies: 1
    Last Post: 09-23-2005, 12:05 AM

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