Option Compare Database
Option Explicit
Private Sub コマンド2_Click()
Dim lval As Long
Dim stimer As Single
lval = Me!テキスト0
'開始時間
stimer = Timer
Do Until Timer > stimer + lval
'カウントダウン表示
Me!ラベル3.Caption = Int(lval - (Timer - stimer))
DoEvents
Loop
End Sub