O'Reilly logo

Absolute Beginner's Guide to VBA by Paul McFedries

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7. Programming Word

In This Chapter

• Specifying, opening, creating, saving, and closing documents

• Using the Range object to work with text

• Using VBA to manipulate characters, words, sentences, and paragraphs

Microsoft Word is a large, complex program, so it will come as no surprise that its list of objects is equally as big and complicated. Fortunately, just as most people use only a tiny subset of Word's features, so too will you probably only use just a few of Word's objects in your VBA programming. In fact, with Word there are only really three levels of objects you'll need to worry about most of the time: Word itself, which is represented by the Application object; Word documents, which are represented by the Document object; and the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required