Need Help With Entering Current Time

  • Thread starter Thread starter Dave Smith
  • Start date Start date
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.
 
It is kind of strange isn't it? Try this macro:

Sub InsertTimeWithSeconds()
ActiveCell.Value = Time
End Sub

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

-Dave
 
Back
Top