Finally, run a clean installation of Windows.Now, install the latest Windows OS update.Next, run the Windows System File Checker (SFC) scan to detect and delete corrupted system files.Uninstall each suspicious application, including the corrupted MS Excel app.Try to “undo” all the recently made changes to the device through Windows System Restore files.Next, update the PC with the latest system drivers.Remove system junk files and corrupted cache data.Scan your device to remove harmful malware and viruses from the system.Warning: If you are not versed in registry manipulation and related activities, I suggest you work with an expert on these solutions. If the solutions above have not solved your problem, then you should resolve to try the ones below. Step 2: Under “Developer Macro Settings” check “Trusted Access to the VBA project.” Other More Advanced Methods Step 1: Select the Developer tab on the Excel menu, go to the Code group and click on Macro Security. Note: Make sure to delete the old module.