Hi there,
Take a look at the attached version of your workbook and see if it does what you need. It uses the following code in the VBA CodeModule of the worksheet "OPTION 2":
Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Cells.CountLarge = 1 Then
If Not Intersect(Target, Me.Range("ptrMorning")) Is Nothing Or _
Not Intersect(Target, Me.Range("ptrAfternoon")) Is Nothing Then
Target.Value = Now() - Int(Now())
End If
End If
End Sub
Just select any of the "Begin Time" or "End Time" cells and the current time will be entered in that cell.
Hope this helps - please let me know how you get on.
Regards,
Greg M
Bookmarks