One More Word December 7, 2000 In last month's column, I talked
about the basics of working with Microsoft Word documents
programmatically, and discussed how to work with the contents of
a document using the Range object. I got a lot of interesting
feedback on that column, along with requests for some additional
information. Specifically, readers asked about working with
documents using the Selection object and working with bookmarks
programmatically. So, this month I will talk about the Selection
object, provide some information on the differences between the
Selection object and the Range object, and give you some
information on programmatically working with bookmarks in Word
documents. Working with the Selection Object The Selection
object represents the currently selected text in a Word
document. The Selection object is always present in a document;
if no text is selected, it represents the insertion point.
Unlike the Range object, there can only be one Selection object
at a time. You can use the Selectio