Adding a time stamp

  • Thread starter Thread starter bigguy68
  • Start date Start date
B

bigguy68

I would like to add a field that would state the time an action happened in
another cell... ei. tell me the time a field went from 0 to 1
a static time...

thanks
 
Assuming the time stamp should be in the cell directly to the right of the
updated field, then select the updated field and run the following macro.

Sub TimeStamp()
ActiveCell.Offset(0, 1).Select
ActiveCell.Formula = "=TIME(HOUR(NOW()),MINUTE(NOW()),0)"
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Time Stamp 8
Excel Convert Datetime Stamp to HH and MM Worked 7
Adobe Acrobat Stamp 0
Auto Stamp Date 13
time stamp question 2
Time stamp 3
Entering a time into excel 10
Time Stamp in Excel Mobile, Windows Mobile 5.0 1

Back
Top