Insert times including seconds?

G

Guest

How can I include "seconds" when inserting times? I'm using Excel 2000.

thanks.

(e-mail address removed)
 
B

Bob Phillips

Enter something like 12:23:24

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
G

Gord Dibben

joe

How are you inserting the time?

SHIFT + CTRL + ; will always insert just the hour and minute and 00 seconds.

To have hour, minute and seconds you need a macro.

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