| | Help by Product Find help quickly and easily. How-to Resources 2007 Release Learning Resources Support and Feedback Technical Resources | Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.
Troubleshoot recording and running macros
Security Because macros can contain viruses, be careful about running them. Take the following precautions: run up-to-date antivirus software on your computer; set your macro security level to high; clear the Trust all installed add-ins and templates check box; use digital signatures; maintain a list of trusted publishers.
A macro I recorded sometimes produces an error message.
A macro you record may not run properly in every situation. If the macro cannot run, Microsoft Word displays an error message. Some macros depend on certain options or settings in Word. For example, a macro that searches for hidden text won't run properly if hidden text isn't displayed.
I keep getting a warning about macros.
-
The macro you want to run might not be from a trusted source If the security level is set to Medium or High, and you open a file or load an add-in that contains digitally signed (digital signature: An electronic, encryption-based, secure stamp of authentication on a macro or document. This signature confirms that the macro or document originated from the signer and has not been altered.) macros that are not from a trusted source, you receive a macro warning. If you are sure you trust the macro developer, add the name to the list of trusted sources.
-
The file might contain a macro virus If you don't expect the file to contain a macro, you might have a virus that is adding a macro virus to the file. Check your computer for viruses, and try to get an uninfected copy of the file from the source.
-
The macro might be in a file you downloaded as an HTML page from a Web site and opened as a temporary file If your virus scanner tells you it cleaned out a virus in this file every time you open it, you are removing the virus from the temporary file only, not from the original file on the Web server. Check your computer for viruses, and notify the source about problems with the original file.
-
The file contains legitimate macros If you know these are legitimate and safe macros, you might want to digitally sign those macros and then add your name to the list of trusted sources.
I don't see a warning when I open a file or load an add-in that contains macros.
-
The security level might be set to Low To receive a warning that a file or add-in contains macros, change the security level to Medium.
-
The security level might be set to High and the macros are not digitally signed To receive a warning that a file or add-in contains macros that have not been digitally signed (digital signature: An electronic, encryption-based, secure stamp of authentication on a macro or document. This signature confirms that the macro or document originated from the signer and has not been altered.), change the security level to Medium.
-
You or someone you have designated as a trusted source might have developed the macros If so, the file is opened and macros are enabled. If you no longer trust the macro developer, you can remove the developer from the list of trusted sources.
To be prompted every time you open a file or load an add-in that contains macros, remove every source from the list of trusted sources.
To confirm that the macros in the file were signed and to see the name of the source of this file:
-
On the Tools menu, click Options, and then click the Security tab.
-
Under Macro security, click Macro Security, and click the Trusted Publishers tab.
I can't run a macro when my document is open.
If your document is read-only, you can't save changes that result when you run macros in that document. If a document is read-only, Microsoft Word adds [Read-Only] to the file name in the title bar. I want to use my Word 2000 and Word 2002 macros in Office Word 2003.
Macros stored in Microsoft Word 2000 and Word 2002 documents or templates run as designed in Microsoft Office Word 2003 — no conversion is required.
Macros stored in Office Word 2003
documents or templates also run as designed in Word 2000 and Word 2002, unless they contain methods and properties that are new in Office Word 2003.
When I copied a toolbar, my macros weren't copied.
When you use the Organizer dialog box (on the Tools menu, point to Macro, click Macros, and then click Organizer) to copy a toolbar from another template, Microsoft Word does not copy the macros associated with the toolbar buttons. You must use the Organizer dialog box to copy the macros separately.
|