Hi all, if you're attending tomorrow's TeamTalk session on (primarily) the MS Office scripting and using MS Word's VBA development environment for VBScript development, you should follow the steps below for setting up your copy of MS Word so the MS Office script can work with it:
Setting up MS Word: You must do this step once, before this script can work with MS Word. For any Automation client to be able to access the VBA object model programmatically, the user running the code must explicitly grant access. To turn on access, the user must follow these steps. Word 2003 and Word XP: 1. Open the Word 2003 or Word XP application . 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. 4. Close Word. Word 2007: 1. Open Word. 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. 5. Close Word.
