Hi All,
I'm using MS Access 2003. I have been trying to find out why portions of my VBA code have been running slower than expected, using code like the following:
The problem I have is that TimeDelta is always an integer number of seconds, after I multiply it by 86400 (the number of seconds in a day). Is there a way of getting the fractional portion of elapsed time, using a different mechanism? Or is this as accurate as VBA/MS Access gets?
Thanks.
I'm using MS Access 2003. I have been trying to find out why portions of my VBA code have been running slower than expected, using code like the following:
Code:
Dim StartTime, EndTime As Date Dim TimeDelta As Single StartTime = Time <Call some procedure> EndTime = Time TimeDelta = EndTime - StartTime
Thanks.
Comment