+ Reply to Thread
Results 1 to 3 of 3

Filter macro not working with more values

  1. #1
    Registered User
    Join Date
    09-15-2016
    Location
    Amsterdam, Netherlands
    MS-Off Ver
    Microsoft Office Professional Plus 2010
    Posts
    10

    Filter macro not working with more values

    Hi,

    I have been stuck with this problem for quite some time now and with the solutions I have found and adapted I have had no luck.

    Intention:

    "- In an AutoFilter select all values EXCEPT 58 of values (text) which I define

    1st attempt:

    - Have the macro create a new column and assign a number 0 to all rows I define and 1 to all values not in my list

    Please Login or Register  to view this content.
    2nd attempt:

    - Adapt the macro formula to include all 58 values:

    Please Login or Register  to view this content.
    When i try to paste in the values something goes wrong and I cannot get it to delete these quotation marks:

    Please Login or Register  to view this content.
    Where what I want it to do is:


    Please Login or Register  to view this content.
    Any help would be very much appreciated and would save me a lot of frustration.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Filter macro not working with more values

    Hello joyinho,

    You seem much more comfortable using formula solutions. Why do you want to use VBA?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    09-15-2016
    Location
    Amsterdam, Netherlands
    MS-Off Ver
    Microsoft Office Professional Plus 2010
    Posts
    10

    Re: Filter macro not working with more values

    Indeed I am more comfortable using formulas, however I am slowly learning how to use VBA to expand my skillset and create better solutions.

+ 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. Replies: 5
    Last Post: 12-19-2013, 06:58 AM
  2. Macro filter isnt working
    By DBenson1968 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-03-2013, 01:12 PM
  3. Pivot Table Filter Macro Not working
    By sm9748 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-23-2013, 03:43 AM
  4. [SOLVED] UserFrom filter between two values not working
    By jed38 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-08-2013, 09:02 AM
  5. Filter in macro not working
    By wotaj in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2012, 12:26 PM
  6. Pivot filter based on Custom values not working
    By vsm in forum Excel General
    Replies: 2
    Last Post: 10-27-2011, 04:57 AM
  7. Macro to filter Pivot not working
    By Startrekfive in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-07-2011, 04:20 AM
  8. Font Filter & loop Macro not quite working
    By Karlos in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-10-2005, 03:10 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