What you'd pass to that function is not the document, but its content, as in:
GetSentences (ActiveDocument.Range.Text)
Instead of ActiveDocument, you might specify a particular document; you might also specify a particular range from that document rather than all of it.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|