+ Reply to Thread
Results 1 to 4 of 4

remove one item from Filter

  1. #1
    Registered User
    Join Date
    02-17-2008
    Posts
    70

    remove one item from Filter

    Hi All,

    I want to remove one item from the fiter, let say "item4". I tried to record a macro, and this was the code which i got.
    Please Login or Register  to view this content.
    But the problem with this code is it selects item which needs to be shown. In other tables i will have hundreds of items, so i will not be able to use same code there. Is there way like select all items and then unselect one item (in this case item4).

    I would really appreciate your help.
    Nazim
    Last edited by nazimscr; 08-22-2010 at 09:20 AM.

  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: remove one item from Filter

    Maybe:
    Please Login or Register  to view this content.
    _________________
    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!)

  3. #3
    Forum Contributor johnjohns's Avatar
    Join Date
    11-19-2007
    Location
    Dubai, UAE
    MS-Off Ver
    2003 and 2007
    Posts
    526

    Re: remove one item from Filter

    Instead of directly un-selecting one item, I used custom autofilter and chose where headding01 doesnot equal to item4 while recording the macro. Here is the result

    Please Login or Register  to view this content.
    This should work

    rgds

    johnjohns

  4. #4
    Registered User
    Join Date
    02-17-2008
    Posts
    70

    Re: remove one item from Filter

    Thanks it really works

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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