Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ASU
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
Marcelo
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
Harald Staff
 
Posts: n/a
Default 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" skrev i melding
...
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   Report Post  
Posted to microsoft.public.excel.misc
ASU
 
Posts: n/a
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time Format jimbob Excel Discussion (Misc queries) 2 March 17th 06 08:26 PM
Time format set from VBA Mike Excel Discussion (Misc queries) 3 March 16th 06 03:56 PM
Converting Text to Time format of XX:XX Marck Excel Discussion (Misc queries) 3 February 25th 06 03:48 PM
Adding Time Format Sloth Excel Discussion (Misc queries) 0 November 1st 05 10:46 PM
Converting from time format to decimal and figuring the difference Steve Williams Excel Discussion (Misc queries) 1 July 30th 05 10:10 PM


All times are GMT +1. The time now is 06:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"