Forum Discussion
tigerinsofia
May 10, 2021Copper Contributor
Run-time error 70 - 'permission denied'
Dear all, Hope you are doing well! I am struggling to run a macro I encountered on the web and I can't run it due to the following error: "Run-time error 70 - 'permission denied'" Sub Com...
HansVogelaar
May 10, 2021MVP
The macro in your sample workbook is missing a Next (the version in your post does have it).
I did the following:
- I created a folder with a few files.
- I let the first command button create a list of the files in column A.
- I entered new names for the files in column B.
- I clicked the second command button.
It renamed the files without problems.
Could the files in your folder be read-only?