If some items — such as templates (including default templates like Normal.dot in Microsoft Word), add-ins, wizards, or custom commands — do not function the way you expect, you may be running a Microsoft Office program with the Visual Basic for Applications (VBA) shared feature disabled. Many features in Office are created in VBA or depend on VBA support to function correctly. If you choose not to install the VBA feature, these dependent applications and features will be disabled or not installed.
For additional information about the affects of disabling VBA, see the Microsoft Office Resource Kit Web site.
Note The hyperlink in this topic goes to the Web. You can switch back to Help at any time.
To re-enable VBA, follow these steps:
How?
For Microsoft Windows 2000 and Microsoft Windows Millennium Edition:
For Microsoft Windows 98 and Microsoft Windows NT 4.0:
If someone else set up your Office installation for you, contact your System Administrator or Information Technology (IT) Professional to see whether you are running Office with VBA disabled.
For the best protection against macro viruses, you should purchase and install specialized antivirus software. To further protect yourself from macro viruses, you can use the following procedures:
Set macro security levels to High
- On the Tools menu, click Options.
- Click the Security tab.
- Under Macro Security, click Macro Security.
- Click the Security Level tab, and then select the security level you want to use.
Clear the Trust all installed add-ins and templates check box
Depending on your macro security setting, when you open a macro, you will receive a warning and the macro may be disabled for installed templates and add-ins (including wizards).
On the Tools menu, click Options, and then click the Security tab.
- Under Macro Security, click Macro Security.
- Click the Trusted Sources tab.
- Clear the Trust all installed add-ins and templates check box.
Note All templates, add-ins, and macros shipped with Microsoft Office XP are digitally signed by Microsoft. Once you add Microsoft to your list of trusted sources for one of these installed files all subsequent interaction with these files will not generate messages.
Clear the list of trusted sources
To perform this procedure, you must have Microsoft Internet Explorer version 4.0 or later installed on your computer.
On the Tools menu, click Options, and then click the Security tab.
- Under Macro Security, click Macro Security.
- Click the Trusted Sources tab.
- Click the source you want to remove from the list.
- Click Remove.