+ Reply to Thread
Results 1 to 4 of 4

format textbox to time

Hybrid View

Guest format textbox to time 06-07-2006, 02:45 PM
Guest RE: format textbox to time 06-07-2006, 03:10 PM
Guest RE: format textbox to time 06-07-2006, 05:10 PM
Guest Re: format textbox to time 06-07-2006, 05:10 PM
  1. #1
    ASU
    Guest

    format textbox to time

    Need help on this one. How do I format a textbox, embeded in a userform, so
    that when I type the hour 2130 it displays 21:30.
    --
    ASU

  2. #2
    Marcelo
    Guest

    RE: format textbox to time

    hi Asu

    assuming that the 2130 is on the C8

    =abs(left(c8,2)&":"&(right(c8,2))

    format as 13:30:55

    hope this helps
    regards from Brazil
    Marcelo

    "ASU" escreveu:

    > Need help on this one. How do I format a textbox, embeded in a userform, so
    > that when I type the hour 2130 it displays 21:30.
    > --
    > ASU


  3. #3
    ASU
    Guest

    RE: format textbox to time

    Not quit what I was looking for. I`v got a userform with textboxes, two of
    does textboxes I would be able to write a time, say 2130. And the textbox
    value comes up with 21:30.
    --
    ASU


    "Marcelo" wrote:

    > hi Asu
    >
    > assuming that the 2130 is on the C8
    >
    > =abs(left(c8,2)&":"&(right(c8,2))
    >
    > format as 13:30:55
    >
    > hope this helps
    > regards from Brazil
    > Marcelo
    >
    > "ASU" escreveu:
    >
    > > Need help on this one. How do I format a textbox, embeded in a userform, so
    > > that when I type the hour 2130 it displays 21:30.
    > > --
    > > ASU


  4. #4
    Harald Staff
    Guest

    Re: format textbox to time

    Hi ASU

    What do you want entry 12 to be ? 00:12 or 12:00 ? And what about 12.5 ? Is
    it 12:30 or 12:50 ? (Believe me, your users will enter all kinds of crap so
    prepare for absolutely every possibility)

    Best wishes Harald

    "ASU" <ASU@discussions.microsoft.com> skrev i melding
    news:87E7194B-BE8C-46BB-AD21-7C1A1CA976CA@microsoft.com...
    > Need help on this one. How do I format a textbox, embeded in a userform,

    so
    > that when I type the hour 2130 it displays 21:30.
    > --
    > ASU




+ 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