Access to code modules disallowed. See the help file under Code Modules security

This error message is displayed by WordPipe, ExcelPipe and PowerPointPipe when a search/replace is performed with the Code Modules search location is checked, and you have not provided a password or specified the wrong password on the Options tab, Password to Unprotect field.

To rectify the problem, provide the correct password, or handle this file manually.

Security

If you get the error message Programmatic Access to Visual Basic Project is not trusted, you need to change your Microsoft Excel security settings. To turn on access, the user must follow these steps.

Office 2003 and Office XP

1. Open the Office 2003 or Office XP application in question. On the Tools menu, click Macro, and then click Security to open the Macro Security dialog box.
2. On the Trusted Sources tab, click to select the Trust access to Visual Basic Project check box to turn on access.
3. Click OK to apply the setting. Restart the Office 2003 or Office XP application in question.

Office 2007

1. Open the 2007 Microsoft Office system application in question. Click the Microsoft Office button, and then click Application Options.
2. Click the Trust Center tab, and then click Trust Center Settings.
3. Click the Macro Settings tab, click to select the Trust access to the VBA project object model check box, and then click OK.
4. Click OK.