Public Sub Delay(ByVal Second As Integer) '딜레이
Dim _startsecond As Integer
_startsecond = Environment.TickCount
While (True)
If (Environment.TickCount - _startsecond >= Second * 1000) Then
Exit While
End If
Application.DoEvents()
End While
End Sub
vnote