Chapter 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 text within those documents, which is represented by various objects, including Character , Sentence , and Paragraph . In this chapter, you'll focus on programming these basic objects.



Absolute Beginner's Guide to VBA
Absolute Beginners Guide to VBA
ISBN: 0789730766
EAN: 2147483647
Year: 2003
Pages: 146

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net