My code has increased in processing time by 33% after installing Windows
SP2. I have the following procedure to measure time in various places in
the code:
Public Sub Record_Stage_Time(Stage_Name As String, Stage_No As Integer)
Range("Title_Stage_" & Stage_No) = Stage_Name
Stage_End_Time = TimeValue(Now())
Range("Title_Stage_" & Stage_No).Offset(, 1) = _
(Stage_End_Time - Stage_Start_Time) * 24 * 60 * 60
Stage_Start_Time = Stage_End_Time
End Sub
In the code I then call it with the following statement, and record the
time on a spreadsheet.
Call Record_Stage_Time("Start of construct reports", 1)
How can I capture times less than 1 second in magnitude in VBA?