Question : vba timestamp -- milliseconds
Answered by : alex-lanaro
Public Function TimeInMS() As String
'The error is +/- 15 ms
TimeInMS = Strings.Format(Now, "dd-MMM-yyyy HH:nn:ss") & "." _
& Strings.Right(Strings.Format(Timer, "#0.00"), 2)
End Function
Source : http://vbadud.blogspot.com/2008/10/excel-vba-timestamp-milliseconds-using.html | Last Update : Thu, 30 Jul 20