G
Guest
Hi. I know this is probably a simple question, but I'm befuddled as to the
correct way to go about it. I need to copy a file from one location to
another, but if the file does not exist, skip it and move on to the next one.
I've tried the "FileSystemObject.FileExists" method, but it keeps telling me
"Object Required" and I don't know what object it's looking for. I know I've
seen code along the lines of "If Exists "File" Then (code) Else End If", but
I'm not sure that it was Access code I saw or something else.
correct way to go about it. I need to copy a file from one location to
another, but if the file does not exist, skip it and move on to the next one.
I've tried the "FileSystemObject.FileExists" method, but it keeps telling me
"Object Required" and I don't know what object it's looking for. I know I've
seen code along the lines of "If Exists "File" Then (code) Else End If", but
I'm not sure that it was Access code I saw or something else.