Chapter 21. Working with Widely Used Objects in Word

In the previous chapter, you learned how to work with some of the main objects in the Word object model, such as Document objects, the Selection object, Range objects, and the Options object. This chapter shows you how to go further with VBA in Word by working with Find and Replace; with headers, footers, and page numbers; with sections, page setup, windows, and views; and with tables.

In this chapter you will learn to do the following:

  • Use Find and Replace via VBA

  • Work with headers, footers, and page numbers

  • Manage sections, page setup, windows, and views

  • Manipulate tables

Using Find and Replace via VBA

Word's Find and Replace feature can be very useful in your procedures. You can, for example, quickly ...

Get Mastering VBA for Microsoft® Office 2010 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.