Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Simple Question


I have a combobox in a userform that selects a time. The issue is when
you select a time, it shows up as a serial time and not in a #:##
format. I don't see anything in the properties that seems to address
this.

Cheers-
Chris Krahe


--
cmk18
------------------------------------------------------------------------
cmk18's Profile: http://www.excelforum.com/member.php...fo&userid=6047
View this thread: http://www.excelforum.com/showthread...hreadid=397193

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Simple Question

Private Sub Combobox1_click()
ComboBox1.Value = Format(ComboBox1.Value, "hh:mm")
End Sub

--
Regards,
Tom Ogilvy


"cmk18" wrote in
message ...

I have a combobox in a userform that selects a time. The issue is when
you select a time, it shows up as a serial time and not in a #:##
format. I don't see anything in the properties that seems to address
this.

Cheers-
Chris Krahe


--
cmk18
------------------------------------------------------------------------
cmk18's Profile:

http://www.excelforum.com/member.php...fo&userid=6047
View this thread: http://www.excelforum.com/showthread...hreadid=397193



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
IF formula-simple question; simple operator Rich D Excel Discussion (Misc queries) 4 December 6th 07 03:36 PM
Simple Simple Excel usage question BookerW Excel Discussion (Misc queries) 1 June 23rd 05 10:06 PM
simple question, hopefully a simple answer! Matt B Excel Programming 5 January 13th 04 08:43 PM
A simple question pancho[_11_] Excel Programming 0 July 25th 03 04:43 PM
Simple Question Chip Pearson Excel Programming 0 July 21st 03 02:34 PM


All times are GMT +1. The time now is 02:05 PM.

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"