+ Reply to Thread
Results 1 to 2 of 2

Date Range using 2 text boxes

  1. #1
    Registered User
    Join Date
    12-04-2012
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    13

    Date Range using 2 text boxes

    Greetings all,

    I'm building a spreadsheet to count an amount of stops at specified landmarks. I will be linking my tabs to a access table and having an update button that will bring in the most current data on the fly. This data will be appended daily to my access table. What I need to accomplish is the ability to filter and populate by date range. Currently this is how I am going about this. I have 2 textboxes and I am using those to enter the date range; ie. In textbox1 (4/1/2014) and in Textbox2 (4/7/2014). Then I have 2 combo boxes. There is a Combobox for a list of drivers and a Combobox2 that lists their managers. So you can select by individual driver or you can select by manager and populate their whole team.
    I have the drivers code populate in C10 and a vlookup formula in B10 that populates the drivers name. in D10 I want a Count of Stops during specified date range. Then in E10-I10 I have it broken down by weekday. SO 2 stops on Monday(E10) Tuesday(F10) Wednesday(G) ect...

    I need help with vba code for the date range in the text field boxes or another approach. I am open to suggestions.


    thanks to everyone,

    Flip

  2. #2
    Valued Forum Contributor
    Join Date
    09-01-2013
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    324

    Re: Date Range using 2 text boxes

    Would you not be able to use the calendar selection instead?


    Shelton A.
    If Helpful, Add Reputaion!

+ 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. [SOLVED] Text Boxes: Insert/Text Box vs. Developer Text Boxes
    By snapfade in forum Excel General
    Replies: 5
    Last Post: 10-09-2012, 01:45 AM
  2. Set default date format of all text boxes on a user form
    By KAPearson in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-24-2012, 01:14 PM
  3. Replies: 2
    Last Post: 02-19-2010, 03:55 PM
  4. User Forms Basics - Text Boxes to Named Range
    By T.J. Lanza in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-24-2009, 03:35 PM
  5. [SOLVED] Formatting Text boxes for Date Entry
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-02-2006, 03:00 PM

Tags for this Thread

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