ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   time serial number problem (https://www.excelbanter.com/excel-programming/276479-re-time-serial-number-problem.html)

Tom Ogilvy

time serial number problem
 
Private Sub ComboBox1_click()
ComboBox1.Value = Format(ComboBox1.Value, "hh:mm:ss")
End Sub

Might work depending on your settings.

--
Regards,
Tom Ogilvy



"fordge23" wrote in message
...
I have a combo box on a userform that is tied to cells in
an excel spreadsheet that lists times. When the cell is
displayed in the combo box it converts it to serial code.
I want the box to display the time. Help?

SDC





All times are GMT +1. The time now is 04:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com