Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to insert a timestamp at the end of each row
of a spreadsheet whenever a cell in that row is changed or edited. Is this a simple fix or a complicated macro? Thanks in advance. Mitch Carey |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Mitch,
This worksheet event code checks for a change in rows 1-10, and puts the date in column D Private Sub Worksheet_Change(ByVal Target As Range) Application.EnableEvents = False On Error GoTo ws_exit If Not Intersect(Target, Range("1:10")) Then Cells(Target.Row, 4).Value = Format(Date, "dd mmm yyyy") End If ws_exit: Application.EnableEvents = True End Sub To enter it, right click the sheet tab, select 'View Code' from the menu, and paste the code into the code pane shown. Change the rows (1:10) to suit, and the date column Target.Row,4. -- HTH Bob Phillips "Mitchell Carey" wrote in message ... I'm trying to insert a timestamp at the end of each row of a spreadsheet whenever a cell in that row is changed or edited. Is this a simple fix or a complicated macro? Thanks in advance. Mitch Carey |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do i set up a time stamp if another number entered in cell? | Excel Discussion (Misc queries) | |||
is it possible to time stamp cell comments? | Excel Discussion (Misc queries) | |||
is it possible to time stamp cell comments? | Excel Discussion (Misc queries) | |||
Inserting time in cell to the right | Excel Worksheet Functions | |||
Setting up a date and time stamp in a cell | Excel Programming |