Hello guys,
thanks a lot for the replies.
Checking the system setting and adjusting the sleep time is an idea but seems a little too unsafe for my taste.
Maybe I should check the file size as well and not only the presence of the file.
I thought about using the Windows API command for delete...
Hello,
I have an odd issue.
In VBA, I first delete a file (e.g. FileName.pdf) and then rename another file (e.g. FileName2.pdf) to the name of the deleted file (e.g. FileName.pdf):
The code snippet is:
varTemp = funDeleteFile(strPath & "" & strFile)
If varTemp <> gcstrfunDeleteFile_Success...