+ Reply to Thread
Results 1 to 7 of 7

AUTOFILTER - Clearing

  1. #1
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    AUTOFILTER - Clearing

    .
    Is there a method of AUTOFILTER UNDO for the affected rows only ?

    It appears from internet research that any method of clearing an AUTOFILTER involves all 1.4 million rows.

    This is a macro I've tried, specifying a range of rows, but it takes the same amount of time as any other macro in making the hidden rows visible again :

    Please Login or Register  to view this content.

    Any suggestions how to restrict the AUTOFILTER = False to the first 1,000 rows ?

    Thanks.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: AUTOFILTER - Clearing

    This unhide rows 1000 rows. The question is are they unfiltered.

    Please Login or Register  to view this content.
    Answer Yes. Sorry. No
    Last edited by mehmetcik; 02-29-2020 at 01:59 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: AUTOFILTER - Clearing

    .
    mehmetcik :


    Thank you for your response.

    Rows("2:1001").Hidden = False takes same amount of time to clear filter.

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: AUTOFILTER - Clearing

    .
    This is the Autofilter macro :

    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: AUTOFILTER - Clearing

    Maybe try all methods to speed up vba:


    Please Login or Register  to view this content.

  6. #6
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: AUTOFILTER - Clearing

    .
    mehmetcik :


    I certainly appreciate your willingness to look at this. Thank you.

    Here is the workbook.


    Your last suggestion took the same amount of time. Sorry.
    Attached Files Attached Files

  7. #7
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: AUTOFILTER - Clearing

    .
    mehmetcik :


    The workbook has formatting, pasted grid lines down to row 5003. It also has background coloring, Col A, down to the last row
    of the worksheet.

    I eliminated all of that below row 1003 and the speed has greatly increased.

    It is a shame that VBA is unable to perform the same function, as fast, regardless of how many rows are "in play".



    I'll consider this issue resolved until a better solution, using as many rows as desired, is presented. Thank you for your
    assistance.

    Cheers !

+ 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] Autofilter not getting entire / Autofilter not applying to all columns
    By KarelMusa in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-10-2019, 04:45 PM
  2. Replies: 4
    Last Post: 03-16-2013, 08:33 AM
  3. Replies: 2
    Last Post: 07-06-2012, 11:42 AM
  4. AutoFilter method of Range class failed - Yet autofilter works.
    By Carlsbergen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2009, 05:43 PM
  5. Capturing the Excel AutoFilter Sorting Event-sort and autofilter options
    By Kognyto in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2008, 05:36 PM
  6. Replies: 1
    Last Post: 02-16-2006, 08:25 AM
  7. [SOLVED] macro for clearing autofilter
    By BorisS in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-12-2005, 03:05 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