Use the text object property to return a text range object defined by the beginning and end of another
object. The text object property applies to many objects (for example, paragraph, bookmark, and
cell). The following example returns a text range object that refers to the first paragraph in the
set aRange to set range text object of paragraph 1 of active document
The following example returns a text range object that refers to the second through fourth
paragraphs in the active document.
set aRange to set range text object of active document start ¬
(start of content of text object of paragraph 2 of active document) ¬
end (end of content of text object of paragraph 4 of active document)
For more information about working with text range objects, see
working with text range objects
True if the font or range is formatted as bold. Read/write.
Returns the number of the bookmark that encloses the beginning of the specified selection or
range; returns 0 (zero) if there's no corresponding bookmark. The number corresponds to the
position of the bookmark in the document: 1 for the first bookmark, 2 for the second one, and
so on. Read-only.
object that represents all the borders for the specified object. Read-
Returns or sets the case of the text in the specified range. Read/write.
Can be one of the following:
object associated with the table object. Read-only.
Returns or sets the text in the specified range or selection. Read/write.