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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
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,223,243
Messages
6,170,964
Members
452,371
Latest member
Frana

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