Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi...
I'm trying to time stamp a key stroke...when a user keys a Y I want a cell 3 to the left top enter now(). I think the code is perfect but it just won't work...Can anyone do this better... Private Sub Worksheet_Change(ByVal Target As Excel.Range) If Not Intersect(Target, Range("AD8:$AD700")) Is Nothing Then If Not IsEmpty(Target) Then If UCase(Target.Value) = "Y" Then Target.Offset(0, 3).Value = Now() Target.Offset(0, 3).NumberFormat = "dd/mm" Target.EntireColumn.AutoFit End If End If End If Cheers GC |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
split post code (zip code) out of cell that includes full address | Excel Discussion (Misc queries) | |||
Code to conditional format all black after date specified in code? | Excel Discussion (Misc queries) | |||
Drop Down/List w/Code and Definition, only code entered when selec | Excel Worksheet Functions | |||
Convert a Number Code to a Text Code | Excel Discussion (Misc queries) | |||
copying vba code to a standard code module | Excel Discussion (Misc queries) |