The first two parts are easy
Right Click on the attached sheet to run the macro.
Right click on the sheet name at the bottom of excel to see the code.
Sorry I don't code for Outlook. I have no interest in that.
Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
LR = Selection.SpecialCells(xlCellTypeLastCell).Row
If Hour(Now) > 12 Then
DisplayTime = Now - 0.5
TimePostFix = " pm"
Else
DisplayTime = Now
TimePostFix = " am"
End If
If Cells(LR, 2).Value = "" Then
Cells(LR, 2).Value = "Stop Time: " & Format(DisplayTime, "hh:mm:ss") & TimePostFix
Else
LR = LR + 1
Cells(LR, 1).Value = "StartTime: " & Format(DisplayTime, "hh:mm:ss") & TimePostFix
End If
Range("B1").Value = "=NOW()"
Columns("A:B").Select
Selection.Columns.AutoFit
Cells(LR, 1).Select
Cancel = True
End Sub
Bookmarks