+ Reply to Thread
Results 1 to 8 of 8

UserformTextbox to Filter excel data table

  1. #1
    Forum Contributor
    Join Date
    06-03-2020
    Location
    canada
    MS-Off Ver
    2021
    Posts
    100

    UserformTextbox to Filter excel data table

    Hello

    I am attaching my file for some help. I would like to be able to filter the database sheet according to the date entered in the textbox1 which is in the userform. Calling the userform in the Control page.

    Your help would be appreciated!
    Attached Files Attached Files
    Last edited by duplaly; 10-25-2020 at 02:39 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Textbox Filter

    Please improve your thread title, as per the forum rules.

    No help to be offered until this has been done.

    Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    06-03-2020
    Location
    canada
    MS-Off Ver
    2021
    Posts
    100

    Re: Textbox Filter

    Please, what do you mean exactly!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Textbox Filter

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

  5. #5
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: UserformTextbox to Filter excel data table

    I see the title has been changed in post #1 therefore I feel safe to answer.
    The attached uses a combobox to locate dates and filters blocks of the same date.
    I used this approach as it would be time consuming entering dates that were not actually in your database.
    The combobox is populated from your database only including one of each date.
    torachan.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    06-03-2020
    Location
    canada
    MS-Off Ver
    2021
    Posts
    100

    Re: UserformTextbox to Filter excel data table

    Grate thanks for the help!
    Calendar approach will be more usefull for me.

  7. #7
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: UserformTextbox to Filter excel data table

    Try this one if you want a calendar.
    Click on textbox - calendar shows - select date - filters if data present - clear screen shows if no data
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    06-03-2020
    Location
    canada
    MS-Off Ver
    2021
    Posts
    100

    Re: UserformTextbox to Filter excel data table

    Hi
    Great thanks for the file. Now, i can move on with my project!

+ 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. I am having issues with vba filter textbox
    By diana9408 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-07-2019, 11:23 PM
  2. VBA to filter a table using a TextBox
    By randall78 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-25-2019, 10:24 PM
  3. [SOLVED] Want to filter multiple string using comma with textbox as i filter
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-22-2017, 09:29 AM
  4. Filter table with the help of textbox
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-06-2017, 09:50 AM
  5. [SOLVED] Filter data using textbox
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-28-2015, 04:28 PM
  6. Filter List with Textbox
    By lee.tah.sung in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-23-2013, 04:49 AM
  7. Filter and add to textbox
    By bgf in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-02-2008, 02:15 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