Word Application Menu

The Word Application menu in Code VBA provides structured access to the Word Application object and its related automation features. It helps you insert correct VBA code for document operations, selections, and other Word objects without having to look up syntax or object references manually.

Word Application Menu

Most Used Word Application Features

At the top of the menu are the commands Word developers use most frequently. These insert ready-made code fragments for common document operations and global application settings.

  • Open Document - Insert code to open an existing Word document.
  • New Document - Insert code to create a new document.

Methods and Properties

The next group provides direct access to methods and properties of the Word Application object. Selecting an item inserts the corresponding VBA statement, allowing you to quickly use Word’s built-in functionality such as ActiveDocument, Version, or Path.

Find and Library

The Find command opens the Code VBA Find Procedure tool, which helps locate procedures related to Word objects or keywords. The Library entry provides access to reusable code snippets for Word automation, including document handling, formatting, and selection operations.

Object-Returning Members

This section lists the main Application members that return objects. Selecting one inserts code that declares and sets a variable of the corresponding type, making it easy to work with Word objects through variables.

  • Documents - Returns the Documents collection.
  • Selection - Returns the Selection object.
  • Windows - Returns the Windows collection.

Additional Object Members

Below these, the menu lists other Application members that return single objects or provide access to specialized Word features. Each has its own submenu for inserting code related to that object.

  • AutoCorrect - Access and modify AutoCorrect entries.
  • AutoCorrectEmail - Manage AutoCorrect settings specific to email content.
  • Bibliography - Work with Word’s bibliography and citation features.
  • Browser - Control document navigation and browsing.
  • CustomizationContext - Set or retrieve the context for customization (e.g., templates).
  • EmailOptions - Configure email-related document options.
  • FindKey - Access key bindings and shortcuts.
  • MacroContainer - Work with macros stored in documents or templates.
  • MailingLabel - Generate and manage mailing labels.
  • MailMessage - Handle mail merge messages.
  • NormalTemplate - Access the global Normal template.
  • OMathAutoCorrect - Manage AutoCorrect entries for equations.
  • Options - Access Word’s global options and preferences.
  • SynonymInfo - Retrieve synonyms for words programmatically.
  • System - Access system-level properties and settings.
  • UndoRecord - Manage undo operations programmatically.
  • AddIns - Access and manage installed add-ins.
  • AutoCaptions - Configure automatic captions for inserted objects.

Together, these menu sections make the Word Application menu a powerful tool for inserting correct, context‑aware VBA code for Word automation.