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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access