Feb 22, 20222 min readPause 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 min readGet all files in a folderNOTE: this post and the code it contains is still valid, however, it has been superseded by the 'Working with files and folders in VBA'...
Feb 22, 20221 min readGet 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...