+ Reply to Thread
Results 1 to 6 of 6

Building a selection tool - problem with the range

  1. #1
    Registered User
    Join Date
    09-09-2014
    Location
    England
    MS-Off Ver
    2010
    Posts
    7

    Building a selection tool - problem with the range

    Hello everybody.

    I am building a selection tool with a whole list of products. this excel list is filtering all the products based on the criteria. The criteria are:

    Type
    Height
    Lengte
    Watt D7:D30

    But i have created a filter that is based on the type value in a cell. I have the following two problem.

    - after typing the value i have to press enter for filtering, can this be done automatic?
    - anf for the criteria watt I want that excel filter a range. for example: if i press the value "1000" i want that is filter from 985 to 1015

    Who can help me with this problems?
    Please Login or Register  to view this content.

  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: Building a selection tool - problem with the range

    1) A worksheet_change event requires a physical change to occur in a cell on the sheet for it to trigger, so no, you can't skip pressing ENTER.

    2) What part of your code handles the "watt" filter? Your variables don't make it clear which what they are for, I try to use variable names that hint at what they are for later in the code.
    _________________
    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
    Registered User
    Join Date
    09-09-2014
    Location
    England
    MS-Off Ver
    2010
    Posts
    7

    Re: Building a selection tool - problem with the range

    I have already a other solutions. i am now using this code:

    Please Login or Register  to view this content.
    This is for 5 filter based on cell type value, I want to use the code below as watt filter for minimum - maximum, but i can not find a way to add this in the code above. Can somebody help me with this.

    Please Login or Register  to view this content.
    Hopefully one of you guys want to help me with this problem

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Building a selection tool - problem with the range

    Maybe:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-09-2014
    Location
    England
    MS-Off Ver
    2010
    Posts
    7

    Re: Building a selection tool - problem with the range

    Yes thankyou it works!

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Building a selection tool - problem with the range

    As it appears you've reached a conclusion, I've marked this thread SOLVED for you.
    FYI, this is done through the Thread Tools located above the first post in this thread. Thanks.

+ 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. Building a Comparison tool... possible?
    By txguyg in forum Excel General
    Replies: 10
    Last Post: 12-20-2013, 06:57 AM
  2. How to call the Excel "range-selection tool"?
    By geophysicist in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-17-2013, 01:23 PM
  3. Building a search tool
    By lostgrave2001 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-29-2012, 08:33 AM
  4. Range Selection Problem
    By boylejob in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-02-2007, 12:09 AM
  5. building a search tool
    By Obi-Wan Kenobi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-18-2006, 11:25 AM

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