Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Is there a way to lock in a date that an entry is made. Ex: Col A1:A10
contains a formula to indicate a date that entry is made is B1:B10. The formula setup in A1 that comes to mind is: =IF(B1="","",TODAY()). But that date changes with each day. I want to lock in the date an entry is made. Thanks, Les |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You need a change event sub to do that:
Private Sub Worksheet_Change(ByVal Target As Range) If Target.Column = 2 Then Application.EnableEvents = False Range("A" & Target.Row) = Date Application.EnableEvents = True End If End Sub Regards, Stefi €˛WLMPilot€¯ ezt Ć*rta: Is there a way to lock in a date that an entry is made. Ex: Col A1:A10 contains a formula to indicate a date that entry is made is B1:B10. The formula setup in A1 that comes to mind is: =IF(B1="","",TODAY()). But that date changes with each day. I want to lock in the date an entry is made. Thanks, Les |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I create a schedule from a list of dates ? | Charts and Charting in Excel | |||
How to return a value between date ranges | Excel Worksheet Functions | |||
Lock data in a cell a specific cell based on selection on other ce | Excel Worksheet Functions | |||
Another Date issue. | Excel Worksheet Functions | |||
How can I lock a date that has been established by the 'today ()'. | Excel Discussion (Misc queries) |