Need Help With Entering Current Time

V

Vilius

I try to enter current time (Ctrl+Shift+, but there are no seconds.
After i change cell to custom (hh:mm:ss), seconds are always equal to
00.

How can i fix this problem? I need just insert auto time WITH SECONDS.

Thanx in advance.
 
D

Dave Smith

It is kind of strange isn't it? Try this macro:

Sub InsertTimeWithSeconds()
ActiveCell.Value = Time
End Sub

-Dave
 
D

Dave Smith

Using Activecell instead of Selection will more closely match the behavior
of Ctrl+Shift+; .

-Dave
 
Top