Permission Denied error

Issue: Trying to copy file (Using VB command FileCopy) while that file was opened by another app (or user)

CodeFunctionName
What is this?

Public

Tested

Original Work
Trying to run "FileCopy" while source file is open can generate error
Permission denied

Fix: While if we do that using FSO, we can easily copy it with no issues

Found: During trying to copy csv file that was open in Excel by another user on a network drive

Views 3,748

Downloads 1,416

CodeID
DB ID