Listbox items with date display numbers instead of date format in a textbox


  • This is DTPicker how will i convert it to date format to display in textbox as date format instead of displaying 121012 can anyone help will be much appreciated thanks

  • Re: Listbox items with date display numbers instead of date format in a textbox


    What's the format of values in your worksheet? What is the format of the values appear in the textboxes of your userform?


    You should be able to use the Format() Function to format the range value however you like... Here's an Example:


    findvalue.Offset(0,6) = Format(Me.txtStu7, "MM-DD-YY")

    Matt Mickle
    Using Excel 2010,2013 & 2016

  • Re: Listbox items with date display numbers instead of date format in a textbox


    Quote from mrmmickle1;798731

    What's the format of values in your worksheet? What is the format of the values appear in the textboxes of your userform?


    You should be able to use the Format() Function to format the range value however you like... Here's an Example:


    findvalue.Offset(0,6) = Format(Me.txtStu7, "MM-DD-YY")


    This is the how it is on my worksheet


    Hi,
    Thanks for your response but is still not working it display like 111206 instead 10/12/17

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!