View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Francis Francis is offline
external usenet poster
 
Posts: 175
Default How to display a hh:mm:ss cell value in a forms text control

are you able to apply Custom format [hh:mm:ss] to it via
Format Cells Custom Type?

--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked


Thank You

cheers, francis




"Parvaiz" wrote:

Hi I have an Excel spreadsheet that contains times in the format of hh:mm:ss
I have created a simple form and I would like it to display the value of eg:
cell B1 = 20:35:00 (8 35 pm)
I put B1 in the Forms Text Box Control Source, but instead of displaying
20:30:00
I get 0.857638888888889

How do I get the text control box on the form to display in the same way as
the cell in the spreadsheet?

I have a column containing several rows of times in the spreadsheet. I guess
that if I can get one to show correctly, I should hopefully then be able to
apply the same logic to the rest of the times.

Any help would be very much appreciated as I only have a day left to hand
his in!