View Single Post
 
Old 01-28-2014, 03:04 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote