A collection of words in a selection, range, or document.
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Each item in the Words collection is a Range object that represents one word. There is no Word object.
Use the Words property to return the Words object.
Use Words(index), where index is the index number, to return a Range object that represents one word. The index number represents the position of the word in the Words collection.
The item in the Words collection includes both the word and the spaces after the word. If the selection is the insertion point and it is immediately followed by a space, Selection.Words(1) refers to the word preceding the selection. If the selection is the insertion point and is immediately followed by a character, Selection.Words(1) refers to the word following the selection.
The Count property for this collection in a document returns the number of items in the main story only. To count items in other stories use the collection with the Range object. Also, the Count property includes punctuation and paragraph marks in the total. If you need a count of the actual words in a document, use the Word Count dialog box.