Format Time

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.
 
B

Bob Phillips

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)
 
G

Gord Dibben

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top