MaleNurse325
Registered User.
- Local time
- Yesterday, 20:24
- Joined
- Jan 11, 2016
- Messages
- 72
I have a countdown to close timer on a form.
I can only make the countdown in seconds and 20 minutes is a lot of seconds.
Can anyone help me convert this to minutes and seconds please?
Private Sub Form_Timer()
TimeCount = TimeCount + 1
Me.txtCounter = 1200 - TimeCount
If TimeCount = 120 Then
Me.txtCounter.ForeColor = vbRed
End If
If TimeCount = 1201 Then
DoCmd.Quit acQuitSaveAll
End If
:banghead:
I can only make the countdown in seconds and 20 minutes is a lot of seconds.
Can anyone help me convert this to minutes and seconds please?
Private Sub Form_Timer()
TimeCount = TimeCount + 1
Me.txtCounter = 1200 - TimeCount
If TimeCount = 120 Then
Me.txtCounter.ForeColor = vbRed
End If
If TimeCount = 1201 Then
DoCmd.Quit acQuitSaveAll
End If
:banghead: