Home |
Search |
Today's Posts |
#1
|
|||
|
|||
How do I set an automatic date stamp into a cell in Excel?
I am trying to set up my spread sheet so that when I enter a value in A1 (for
example) the time will pop up in A7. I have tried to do "if" statements, but when I do "IF A1=0, THEN ***, NOT CTL,SHIFT;" BUT when I type "ctl,shft ;" it automatically enters the time I entered the formula. I work in a phone queue, and would like to automatically keep up with the times my calls come in without having to remember to do so. |
#2
|
|||
|
|||
You need VBA, else the time just keeps updating
Private Sub Worksheet_Change(ByVal Target As Range) On Error GoTo ws_exit: Application.EnableEvents = False If Not Intersect(Target, Me.Range("A1:M1")) Is Nothing Then With Target .Offset(6, 0).Value = Format(Time, "hh:mm:ss") End With End If ws_exit: Application.EnableEvents = True End Sub 'This is worksheet event code, which means that it needs to be 'placed in the appropriate worksheet code module, not a standard 'code module. To do this, right-click on the sheet tab, select 'the View Code option from the menu, and paste the code in. -- HTH Bob Phillips "Nilla_Brown" wrote in message ... I am trying to set up my spread sheet so that when I enter a value in A1 (for example) the time will pop up in A7. I have tried to do "if" statements, but when I do "IF A1=0, THEN ***, NOT CTL,SHIFT;" BUT when I type "ctl,shft ;" it automatically enters the time I entered the formula. I work in a phone queue, and would like to automatically keep up with the times my calls come in without having to remember to do so. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can excel have a button to input (stamp) the systems date and/or . | Excel Worksheet Functions | |||
Exporting from MYOB to Excel the date cell doesn't display as dat. | Excel Worksheet Functions | |||
Turn cell red if today is greater or equal to date in cell | New Users to Excel | |||
Combined date time cell to separate date & time components | Excel Worksheet Functions | |||
Extract date from cell | Excel Worksheet Functions |