Aug 31, 20233 minA better Application.OnTime ... run your VBA code to the nearest millisecond (ish)Application.OnTime is great if you want to call your procedure to the nearest second. What do you do if you want finer control than that?
Feb 22, 20222 minPause processingCode often needs to pause and wait for something else to happen. There are a number of options to do this. In Excel, you can use...
Feb 22, 20221 minGet the local date and time including millisecondsThis code uses the GetLocalTime Windows API to get a more accurate time than VBA will supply, accurate to around 15 milliseconds. You can...