In my case, this issue was raised because I do not store my applications/customizations in the default
My Documents\Visual Studio 2008 directory.
You can either:
- Store your apps only in or below that default My Documents\Visual Studio 2008 directory, because it is trusted by default;
- Change the 2007 Microsoft Office System to trust the directory you store your customizations in. In Excel 2007:
- Windows button/Excel Options button/Trust Center/Trust Center Settings button/Trusted Location;
- Add new location... and add the directory where your customizations are stored;
- In this same dialog, check Subfolders of this location are also trusted.
Do this only for the required directory.