|
|
Что то делаем в течении милисекунд
Public Sub DoSomeThing(Optional iRunTimeInMilisecinds% = 353)
Dim dtEndDateTime As Date, dtTempTime As Date
Dim datStart As Date, datEnd As Date, iVal%
dtTempTime = iRunTimeInMilisecinds / 86400000
dtEndDateTime = Date + CDate(Timer / 86400) + dtTempTime
datStart = Date + CDate(Timer / 86400)
dtTempTime = datStart
Do While dtTempTime <= dtEndDateTime
dtTempTime = Date + CDate(Timer / 86400)
Loop
End Sub
|
|