Results 1 to 7 of 7

VBA to control filters by manual entry

Threaded View

  1. #1
    Registered User
    Join Date
    05-25-2010
    Location
    Halifax, Canada
    MS-Off Ver
    Excel 2007
    Posts
    15

    VBA to control filters by manual entry

    Hi All,

    I'm working on a spread sheet that only shows data entries in a table based on data entered in by the user. I created an example using airline arrival and departure times.

    What I want to do is have the user select the Airline they want information on from a drop down list of all the airlines. That turns on a filter which shows only the data for the airline selected. I got this working already as you will see in the sample sheet.

    The next part is more tricky. There are 3 other cells below the airline selection cell. The first is threshold. I would like this to control column F which is the detention time of the aircraft. So if it is set to 0:30:00 it will filter out any flights that were not in detention for less than 30 minutes.

    The other two cells set the date range for the data. Cell B3 should filter out any dates before (less than) its value, and allow everything greater than (after) its value in the arrival column.

    Cell B4 is the opposite as it is the departure date and time. It should filter out anything from the departure column that is after (greater than) and allow anything that is before (less than) it in the filter for that column.


    Any help is much appreciated!

    Thanks,

    Neo
    Attached Files Attached Files
    Last edited by NeoPhyx; 06-04-2010 at 08:00 AM. Reason: Solved

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