#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Format Time

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Format Time

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)

"Maverick" wrote in message
...
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.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Format Time

Unfortunately, that is how Excel does it.

You can use =NOW() and copy/paste specialvalues 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

On Thu, 27 Jul 2006 13:22:02 -0700, Maverick
wrote:

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.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time Format... Steven Sinclair Excel Discussion (Misc queries) 3 July 18th 06 10:33 PM
Time Format jimbob Excel Discussion (Misc queries) 2 March 17th 06 08:26 PM
Time format set from VBA Mike Excel Discussion (Misc queries) 3 March 16th 06 03:56 PM
Converting Text to Time format of XX:XX Marck Excel Discussion (Misc queries) 3 February 25th 06 03:48 PM
Converting from time format to decimal and figuring the difference Steve Williams Excel Discussion (Misc queries) 1 July 30th 05 10:10 PM


All times are GMT +1. The time now is 05:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"