Fixing VBA OLE Error 800a03ec
To resolve this error, ensure that the “Trust access to the VBA project object model” option is enabled in Excel’s Trust Center settings.
For instructions on how to find this option, please refer to the official Microsoft Office support page: