We say this because the runtime error 1004 is simple to fix, therefore, folks shouldn’t be losing their minds over it. Yes, we do understand that it slows your workflow, but once you get an idea of how to spin things around, you’ll be just fine. Now, it must be stated that anyone who faces this error will not have the option to use certain resource libraries. Furthermore, there might be performance problems and constant crashes to make using Excel even more difficult.

What is Runtime error 1004 in Excel

From our experience, the error appears mostly when the user tries to run MS Visual Basic for Applications Macro. The entire thing is a security procedure to lock MS VBA from Excel, but if the user decides to give it access, then runtime error 1004 will likely never appear. The error message could have multiple variations, and they are:

Runtime error 1004: Application-defined or object-defined errorRuntime error 1004: Copy method of Worksheet Class FailedError 1004: Programmatic access to Visual Basic Project is not trusted

Fix Error 1004 in Excel

The first thing you will be required to here is to open Excel Options, which is easy. Just open Microsoft Excel, then click on File, and from there, select Options.

Once you’re in the Options area, please click on Trusted Center, then Trust Center Settings.

Right away the Trust Options section should appear. From there, please select Macro Settings.

Finally, click on Trust access to the VBA project object model, then hit the OK button and that’s it for that.

Scan for malware

As a matter of precaution, you may want to also scan for malware, so be sure to fire up your anti-malware scanner and perform a regular scan to see if anything pops up. If nothing comes up, then we suggest performing a full virus scan to make sure all is well. Microsoft Defender is a great tool for this job, but if that’s not enough in your eyes, then we suggest using a free standalone malware scanner.