Try this instead:
Code:Option Explicit Private Declare Function timeGetTime Lib "winmm.dll" () As Long Private Sub Form_Load() Dim myStartTime As Long myStartTime = timeGetTime / 1000 Debug.Print DateAdd("s", -myStartTime, Now) End Sub
|
Results 1 to 7 of 7
Threaded View
|
Click Here to Expand Forum to Full Width |