Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Does anyone know how to "Time Stamp" a cell as data is
entered into an adjacent cell? I need it to be in minutes and seconds, and to not change when the spreadsheet is regenerated. The "NOW" function works great, except that it updates. Thanks for any help. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Marty
Private Sub Worksheet_Change(ByVal Target As Excel.Range) 'when entering data in a cell in Col A 'Time Stamp placed in Col B On Error GoTo enditall If Target.Cells.Column = 1 Then n = Target.Row If Excel.Range("A" & n).Value < "" Then Excel.Range("B" & n).Value = Now End If End If enditall: End Sub Right-click on sheet tab and "View Code". Copy/paste the above code to worksheet module. Gord Dibben Excel MVP On Tue, 24 Feb 2004 21:53:01 -0800, "Marty" wrote: Does anyone know how to "Time Stamp" a cell as data is entered into an adjacent cell? I need it to be in minutes and seconds, and to not change when the spreadsheet is regenerated. The "NOW" function works great, except that it updates. Thanks for any help. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Take a look at
http://www.mcgimpsey.com/excel/timestamp.html In article , "Marty" wrote: Does anyone know how to "Time Stamp" a cell as data is entered into an adjacent cell? I need it to be in minutes and seconds, and to not change when the spreadsheet is regenerated. The "NOW" function works great, except that it updates. Thanks for any help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date and time stamping with a (macro) button | Excel Worksheet Functions | |||
Time Stamping Cells | Excel Discussion (Misc queries) | |||
Time Stamping A Cell | Excel Discussion (Misc queries) | |||
Running averages and time stamping | Excel Worksheet Functions | |||
Time stamping - automated by worksheet update | Excel Programming |