Format Time

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I get the static time to include seconds? I can manually insert
using the Control+Shift+; and I can format the cell, but the seconds is
always 00.
 
Ctrl-Shift-; always gives hours and minutes, not seconds (don't know why).

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
Unfortunately, that is how Excel does it.

You can use =NOW() and copy/paste special>values immediately.

You could use a small macro attached to a button or a shortcut key.

Sub NOWTIME()
ActiveCell.Value = Format(Now(), "h:mm:ss AM/PM")
End Sub


Gord Dibben MS Excel MVP
 
Back
Top