Results 1 to 6 of 6

Thread: Force user to use date format dd/mm/yyyy on User Form

  1. #1
    Member
    Join Date
    Aug 2012
    Posts
    40
    Rep Power
    0

    Force user to use date format dd/mm/yyyy on User Form

    I have a user form containing various fields and would like code that forces the user to enter a date in the date field on the user form called called "TxtDate1" in the format dd/mm/yyyy. If not in this format Message box must appear advising user date format incorrect and they must enter date as dd/mm/yyyy

  2. #2
    Senior Member
    Join Date
    Jun 2012
    Posts
    337
    Rep Power
    13
    Offer the user a combobox (style dropdownlist) with all valid dates to choose from

  3. #3
    Member
    Join Date
    Aug 2012
    Posts
    40
    Rep Power
    0
    Thanks for the info. I think the best option would be to use datepicker add-on linked to the combobox. It would be appreciated of you could assist me in writing code to activate the datepicker or a built in calendar when selecting the date field in the combo box ("TxtDate1")

  4. #4

  5. #5

  6. #6
    Member
    Join Date
    Aug 2012
    Posts
    40
    Rep Power
    0
    Hi Guys

    Thanks for the pointers in the right direction

Similar Threads

  1. Inserting Image In VBA User Form Caption
    By littleiitin in forum Download Center
    Replies: 3
    Last Post: 02-22-2021, 03:07 PM
  2. Replies: 4
    Last Post: 02-03-2014, 07:01 PM
  3. Replies: 2
    Last Post: 01-02-2014, 04:05 AM
  4. Sending Data From User Form To First Empty Row Of Sheets
    By paul_pearson in forum Excel Help
    Replies: 21
    Last Post: 08-14-2013, 11:04 PM
  5. Adding A Menu Bar To A User Form
    By Rasm in forum Excel Help
    Replies: 14
    Last Post: 05-05-2011, 04:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •