Hi, I get runtime error '70' - "Permission Denied" when I try to copy a file using .CopyFile in win2000 environment.
I'm logged in as Admin with all permissions and rights.
Just a thought here you aren't trying to copy a file in VBA and its the file that you are in that is issuing the command.
from MSDN 0fc 2000 documentation
An attempt was made to write to a write-protected disk or to access a locked file. This error has the following causes and solutions:
You tried to open a write-protected file for sequential Output or Append.
Open the file for Input or change the write-protection attribute of the file.
You tried to open a file on a disk that is write-protected for sequential Output or Append.
Remove the write-protection device from the disk or open the file for Input.
You tried to write to a file that another process locked.
Wait to open the file until the other process releases it.
You attempted to access theregistry, but your user permissions don't include this type of registry access.
On 32-bit Microsoft Windows systems, a user must have the correct permissions for access to the system registry. Change your permissions or have them changed by the system administrator.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.