+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Excel VBA Code- Autofilter For Everything Except N/As

  1. #1
    Registered User
    Join Date
    03-05-2012
    Location
    NY, NY
    MS-Off Ver
    Excel 2007
    Posts
    2

    Excel VBA Code- Autofilter For Everything Except N/As

    I have a column with numeric values and #N/A. I am trying to filter for everything except the #N/A and then delete. The following is what I have so far, but it's not working.
    Please Login or Register  to view this content.
    Any help is appreciated. Thanks!
    Last edited by arlu1201; 05-18-2012 at 03:59 AM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Excel VBA Code- Autofilter For Everything Except N/As

    Try changing this -
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    03-05-2012
    Location
    NY, NY
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Excel VBA Code- Autofilter For Everything Except N/As

    Thanks Arlette. But I think that does the opposite of what I want. I want to select all values except the #N/As so I can delete them. I thought putting <> in front would work, but somethings off... Do you have any suggestions for that?

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Excel VBA Code- Autofilter For Everything Except N/As

    Oops sorry. Then use this
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-01-2012
    Location
    Minneapolis, MN
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Excel 2007 : Excel VBA Code- Autofilter For Everything Except N/As

    How do you do this with a few criterias? For example if I want to select all, except for item1, item2, and item3.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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