Get Help for Visual Basic for Applications in Word

Do one of the following:

ShowGet general Microsoft Visual Basic Help

  1. On the Tools menu, point to Macro, and then click Visual Basic Editor.
  2. Click Microsoft Visual Basic Help Button image.
  3. In the Microsoft Visual Basic Help task pane, in the Search text box, type the subject for which you need help.
  4. Click Start searching Button image.

ShowTip

ShowIf Microsoft Word displays a macro error

The macro (macro: An action or a set of actions that you can use to automate tasks. Macros are recorded in the Visual Basic for Applications programming language.) error may have been caused by one of the following:

For more information, search for the method, object, or property in Visual Basic Help (Visual Basic Help: To get Help for Visual Basic, point to Macro on the Tools menu, and then click Visual Basic Editor. On the Help menu, click Microsoft Visual Basic Help.).

ShowIf Word displays a message asking you to turn on trusted access to Visual Basic projects

The appearance of this message indicates that your Microsoft Visual Basic for Applications (Visual Basic for Applications (VBA): A macro-language version of Microsoft Visual Basic that is used to program Microsoft Windows-based applications and is included with several Microsoft programs.) project does not have access to the Visual Basic object model. To allow this access, use the following procedure.

  1. On the Tools menu, point to Macro, and then click Security.
  2. On the Trusted Publishers tab, select the Trust access to Visual Basic Project check box.

Security  By allowing this access, macros (macro: An action or a set of actions that you can use to automate tasks. Macros are recorded in the Visual Basic for Applications programming language.) in any documents that you open can access the core Visual Basic objects, methods, and properties. This represents a possible security hazard.

 
 
Applies to:
Word 2003