How to check from .net code whether \"Trust access to the VBA project object model\" is enabled or not for an Excel application?
Manually I
Search the registry for all instances of "AccessVBOM" and change the Dword settings to a 1.
That should turn it on.