MS Word

Automate Work with Macros

In this tutorial, I'll show you how to eliminate 15 or so common annoyances by using macros. Some of these annoyances are specific ones that you may share

For example, it may irk you that Word doesn't automatically return to the last editing position when you open a document, that it indiscriminately capitalizes the first letter of every word when you apply title case to selected text, or that you have to mess with the Paste Options dialog box or the Paste Options Smart Tag if you want to paste in text with no formatting.

We'll also look at a few more general issues, such as having Word perform a series of mechanical steps for you automatically, putting a message box or input box on a recorded macro so that you can control it better, and performing Find and Replace operations that are too complex to do through the user interface.

When you first start to work with macros, you'll face a steep learning curve in getting to know the Visual Basic Editor's interface and Visual Basic for Applications (VBA) at the same time. This tutorial provides a gentle introduction to the power of macros and the complexities of the Visual Basic Editor. If you need to get up to speed, you'll get the best results in this tutorial by starting at the beginning and reading (or working) through all the sections in order. If you're already comfortable with the Visual Basic Editor, feel free to skip around as usual. This tutorial isn't a course in using VBA and the Visual Basic Editor, but it shows you how to get started creating code that can sweep many annoyances from your path.