Permission denied (Error 70)
This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.
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 the registry, 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.
Bookmarks