+ Reply to Thread
Results 1 to 5 of 5

Userform TextBox Date Format Keeps Auto Updating

  1. #1
    Valued Forum Contributor unit285's Avatar
    Join Date
    10-29-2015
    Location
    TN
    MS-Off Ver
    Office 365
    Posts
    358

    Userform TextBox Date Format Keeps Auto Updating

    Can someone please tell me why, when I enter 04/18 into Textbox10 as soon as I go to TextBox11, TextBox10 changes to 04/16

    Like its set to automatically only display this year! grrr

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Userform TextBox Date Format Keeps Auto Updating

    Excel sees 04/18 as 18 April 2016, if you only want to enter a month and year perhaps you could use another approach eg spin buttons, comboboxes.
    If posting code please use code tags, see here.

  3. #3
    Valued Forum Contributor unit285's Avatar
    Join Date
    10-29-2015
    Location
    TN
    MS-Off Ver
    Office 365
    Posts
    358

    Re: Userform TextBox Date Format Keeps Auto Updating

    So there is no format for month/year ? its for a credit card expiration date..

  4. #4
    Valued Forum Contributor unit285's Avatar
    Join Date
    10-29-2015
    Location
    TN
    MS-Off Ver
    Office 365
    Posts
    358

    Re: Userform TextBox Date Format Keeps Auto Updating

    For anyone curious I ended up just going with the text format
    Please Login or Register  to view this content.

  5. #5
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Userform TextBox Date Format Keeps Auto Updating

    Do you need to format the value in the textbox as text, it is text after all?

+ 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] 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
  2. [SOLVED] Userform Textbox Date Format
    By saban1974 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-12-2014, 10:52 AM
  3. [SOLVED] Excel 2007, Userform Textbox Date Format and Calendar Control Userform
    By riffology in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-03-2014, 06:18 PM
  4. Date Format in userform textbox is different from excel worksheet?
    By z-eighty2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-30-2013, 06:46 AM
  5. [SOLVED] Textbox: Auto updating Date entry
    By Patafix in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-04-2013, 11:19 AM
  6. [SOLVED] UserForm TextBox Date Format with Automatic Dashes
    By saucey in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-17-2013, 01:28 PM
  7. Date Format for textbox in userform
    By processchip in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-08-2011, 06:42 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