Help > Reference > Macros > Word object

Word object

The Word object represents a word in the search results. Use WordList property of Tab object to get reference to the words collection.

Example

Set FSO = CreateObject("Scripting.FileSystemObject")
Set Output = FSO.CreateTextFile("c:\output.txt", True)
For Each Word in App.ActiveTab.WordList
  Output.WriteLine Word.Name & " - " & Word.Count
Next

Word properties