+ Reply to Thread
Results 1 to 3 of 3

Userform Textbox set to DD/MM/YY and changes to MM/DD/YY

  1. #1
    Registered User
    Join Date
    08-20-2010
    Location
    uk
    MS-Off Ver
    Office Pro Plus 2016
    Posts
    87

    Userform Textbox set to DD/MM/YY and changes to MM/DD/YY

    Hi

    I have a textbox with the code below on userform 1 & 2 showing the current date in DD/MM/YY, this date is copied from userform 1 to userform 2 and finally onto an excel worksheet. However, on some occasions the format changes to MM/DD/YY. Is there a way to force the date format to DD/MM/YY

    Please Login or Register  to view this content.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Userform Textbox set to DD/MM/YY and changes to MM/DD/YY

    As someone that develops userforms for a living, this little bug drives me barmy.
    Format the date as "dd mmm yyyy" first then you should be able to change it again to "dd mm yyy" and it should work.

    BSB

  3. #3
    Registered User
    Join Date
    08-20-2010
    Location
    uk
    MS-Off Ver
    Office Pro Plus 2016
    Posts
    87

    Re: Userform Textbox set to DD/MM/YY and changes to MM/DD/YY

    Hi BSB

    Thanks, lets hope it solves the issue, looking good so far.


+ 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] Userform, fill Textbox with calender week (ww) depending on date from another TextBox
    By crowmagnus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-29-2020, 09:24 AM
  2. [SOLVED] Excel 2010 - Userform - display date from textbox in a label or textbox in 'ddd' format
    By theshybutterfly in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2015, 10:54 PM
  3. Replies: 23
    Last Post: 07-12-2014, 07:09 PM
  4. Replies: 3
    Last Post: 05-07-2012, 09:46 PM
  5. Userform Textbox updating a another userform textbox (im stuck!!)
    By wapwap in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-31-2011, 02:56 PM
  6. Userform: Pass textbox values to another textbox on button press
    By adjustermn in forum Word Programming / VBA / Macros
    Replies: 3
    Last Post: 02-09-2010, 11:19 PM

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