+ Reply to Thread
Results 1 to 5 of 5

Excel Userforms Textbox query

  1. #1
    Forum Contributor funkymonkUK's Avatar
    Join Date
    01-07-2005
    Location
    London, England
    Posts
    500

    Excel Userforms Textbox query

    Hi

    I have a textbox which uses a date value in a cell from the spreadsheet. At the moment it shows the value of the cell as m/d/yy how do I get it to view dd/mm/yy?

  2. #2
    Tom Ogilvy
    Guest

    Re: Excel Userforms Textbox query

    Try using a textbox from the drawing toolbar rather than from the control
    toolbox toolbar.

    --
    Regards,
    Tom Ogilvy

    "funkymonkUK" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi
    >
    > I have a textbox which uses a date value in a cell from the
    > spreadsheet. At the moment it shows the value of the cell as m/d/yy how
    > do I get it to view dd/mm/yy?
    >
    >
    > --
    > funkymonkUK
    > ------------------------------------------------------------------------
    > funkymonkUK's Profile:

    http://www.excelforum.com/member.php...o&userid=18135
    > View this thread: http://www.excelforum.com/showthread...hreadid=414234
    >




  3. #3
    Forum Contributor funkymonkUK's Avatar
    Join Date
    01-07-2005
    Location
    London, England
    Posts
    500
    unfortunately I cannot as I am using a userform.

  4. #4
    Forum Contributor funkymonkUK's Avatar
    Join Date
    01-07-2005
    Location
    London, England
    Posts
    500
    unfortunately I cannot as I am using a userform.

  5. #5
    Tom Ogilvy
    Guest

    Re: Excel Userforms Textbox query

    Now I see that in the subject. another example of why it is best to include
    all pertinent information in the body.

    Private Sub Textbox1_AfterUpdate()
    Textbox1.Text = format(Textbox1.Text,"dd/mm/yy")
    End Sub

    You might have to experiment with other textbox events to see which works
    best.

    --
    Regards,
    Tom Ogilvy


    "funkymonkUK" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > unfortunately I cannot as I am using a userform.
    >
    >
    > --
    > funkymonkUK
    > ------------------------------------------------------------------------
    > funkymonkUK's Profile:

    http://www.excelforum.com/member.php...o&userid=18135
    > View this thread: http://www.excelforum.com/showthread...hreadid=414234
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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