Automating Common Word Tasks

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

This topic includes some common Word tasks and the Visual Basic code needed to accomplish the tasks.

Applying formatting to text

Editing text

Finding and replacing text or formatting

Miscellaneous tasks

Working with tables

Working with documents

Show: