Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Convert no. to time
I put a counter on excel VBA form. The counter updates to new no. by adding 1 per second. I want to convert this value & display as h:m:s. How do I do it -- Bhuktar ----------------------------------------------------------------------- Bhuktar S's Profile: http://www.excelforum.com/member.php...nfo&userid=234 View this thread: http://www.excelforum.com/showthread.php?threadid=26454 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Convert no. to time
Either
If the secs are in a1, create formula =A1/(24*60*60) in B1, and format it as time. or =CONVERT(A1,"sec","day") in B1, and format it as time. -- HTH RP "Bhuktar S" wrote in message ... I put a counter on excel VBA form. The counter updates to new no. by adding 1 per second. I want to convert this value & display as h:m:s. How do I do it? -- Bhuktar S ------------------------------------------------------------------------ Bhuktar S's Profile: http://www.excelforum.com/member.php...fo&userid=2343 View this thread: http://www.excelforum.com/showthread...hreadid=264544 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Convert time stored as decimalised number to time format | New Users to Excel | |||
convert from percentage of time to time using complex formula in . | Excel Worksheet Functions | |||
In Excel, I want to convert Eastern time to pacific time | Excel Discussion (Misc queries) | |||
convert time imported as text to time format for calculations | Excel Worksheet Functions | |||
convert decimal number to time : convert 1,59 (minutes, dec) to m | Excel Discussion (Misc queries) |