+ Reply to Thread
Results 1 to 4 of 4

Filter listbox by date

  1. #1
    Registered User
    Join Date
    06-05-2020
    Location
    Brooklyn, NY
    MS-Off Ver
    2020
    Posts
    2

    Filter listbox by date

    Hi,

    I am having a hard time figuring out a way to get this done.. I have a spreadsheet with information and a listbox where the information shows up. however, I am trying to filter the listbox that it should only show a row where the date on "last contact" column was more than two weeks ago. Please help....

    Thanks
    Attached Files Attached Files
    Last edited by BeWe; 01-06-2021 at 11:19 AM.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,659

    Re: Filter listbox by date

    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 01-05-2021 at 10:34 PM.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    15,027

    Re: Filter listbox by date

    Another option...
    Securi Wall not allowing me to post code though...Strange...
    Attached Images Attached Images
    Attached Files Attached Files
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  4. #4
    Registered User
    Join Date
    06-05-2020
    Location
    Brooklyn, NY
    MS-Off Ver
    2020
    Posts
    2

    Re: Filter listbox by date

    Thanks AlphaFrog and sintek, it works exactly the way I wanted. I'll be using the one AlphaFrog provided since it's easier for me to understand and work with. Thanks a lot!!

+ 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: 7
    Last Post: 11-18-2020, 11:29 AM
  2. [SOLVED] Filter Listbox or Search Listbox using Textbox
    By crowmagnus in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2020, 08:34 AM
  3. [SOLVED] Listbox sort/filter by date time?
    By rp1xlox in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-07-2020, 03:28 PM
  4. Replies: 0
    Last Post: 05-06-2019, 03:36 PM
  5. Populate (ca 200) Txtboxes depending on listbox selection, live-filter for listbox &1 more
    By InternInNeed in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-14-2016, 09:56 AM
  6. Filter info by date parameters and populate listbox
    By Raylou in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-31-2014, 09:31 AM
  7. listbox vs filter
    By ahmad123 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-14-2011, 02:13 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