Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I am curious if their is a way to insert a date automatically in a field each
time the field is entered. ei. my A collum is a date collum and each line needs a date. Thanks |
#2
![]() |
|||
|
|||
![]()
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Column = 1 Then Target.Value = Format(Date, "dd mmm yyyy") End If 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 "coconutt" wrote in message ... I am curious if their is a way to insert a date automatically in a field each time the field is entered. ei. my A collum is a date collum and each line needs a date. Thanks |
#3
![]() |
|||
|
|||
![]() |
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 | |||
Changing Cell formats to date fields automatically | Excel Worksheet Functions | |||
Autofilter on date fields should refelct the underlying data (rat. | Excel Discussion (Misc queries) | |||
Formatting date fields after export | Excel Discussion (Misc queries) | |||
Comparing Date Fields | Excel Worksheet Functions |