TimeStamp macro hh:mm:ss auto entry

BluVZ

New Member
Joined
Jul 10, 2008
Messages
2
How to auto-enter timestamp in hh:mm:ss format?

Hi folks,

I'm a basic Excel user...

I need to make a lot of automatic entries in the course of the
day as hh:mm:ss

Like right now it is 07:52:23

I don't want to hit CONTROL+SHIFT+: to get 7:52 AM

And... 07:52:00 (without the accurate seconds is no good either...) That's what happens when I do the CONTROL+SHIFT+: in cells formatted hh:mm:ss

I need it to automatically enter 07:52:23 (without an AM OR PM in the cell)...

My cells are formatted to hh:mm:ss; but I can't get an auto entry.

Is there one??? Or a way to record a macro that will do this? I just recorded my first two macros yesterday for resizing pics in my work and moving them to the right position. Those work great! But I need to have that hh:mm:ss timestamp as well.

Thanks for your help!!!
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Sub TimeStamp()
With ActiveCell
.NumberFormat = "hh:mm:ss"
.Value = Now
End With
End Sub
 
Upvote 0
:cool: Oh, thank you, Neil!!!! :biggrin:

(I figured out how to set this macro!) It works perfectly!!

Just what I needed! Very grateful for your assistance!!!

B~
 
Upvote 0

Forum statistics

Threads
1,215,056
Messages
6,122,907
Members
449,096
Latest member
dbomb1414

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top