Hi,
More or less. Name a spare cell "start'. This will hold the time that the start button is pressed. Then attach the macros below to the start and end buttons.
Sub PleaseBeBackBy()
Dim iHour As Integer, iMin As Integer, iSec As Integer
Range("start") = Time
iHour = Hour(Now())
iMin = Minute(Now()) + 30
iSec = Second(Now())
MsgBox "Please be back at:" & Chr(13) & " " & TimeSerial(iHour, iMin, iSec)
End Sub
Sub TimeLeft()
If TimeSerial(Hour(Now()), Minute(Now() - 30), Second(Now())) > Range("start") Then
MsgBox "You still have " & 30 - (Minute(Now) - Minute(Range("start"))) & " minutes remaining. " _
& Chr(13) & "Do you want to end?"
End If
End Sub
Rgds
Bookmarks