Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello
I'am using this code to generete a time stamp in my excel sheet. But the cude also makes it impossible to use the undo bottom. Do any of you have a trick to both have timestamp and undo funktion? Private Sub Worksheet_Change(ByVal Target As Excel.Range) With Target If .Count 1 Then Exit Sub If Not Intersect(Range("A2:A10"), .Cells) Is Nothing Then Application.EnableEvents = False If IsEmpty(.Value) Then .Offset(0, 1).ClearContents Else With .Offset(0, 1) .NumberFormat = "dd mmm yyyy hh:mm:ss" .Value = Now End With End If Application.EnableEvents = True End If End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Comparing 2 files on date/time stamp, and based time difference do a subroutine | Excel Programming | |||
Time Stamp | Excel Programming | |||
Time Stamp | Excel Worksheet Functions | |||
time stamp a cell that doesn,t change when time stamping another | Excel Programming | |||
Time Stamp | Excel Programming |