Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / July 2006

Tip: Looking for answers? Try searching our database.

Format Time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Maverick - 27 Jul 2006 21:22 GMT
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.
Bob Phillips - 27 Jul 2006 22:35 GMT
Ctrl-Shift-; always gives hours and minutes, not seconds (don't know why).

Signature

HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

> 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.
Gord Dibben - 27 Jul 2006 22:40 GMT
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

>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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.