how can i use Microsoft agent with microsoft office?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm tryin to use microsoft agent in microsoft office to read what ever i have
in the file. Thanks
 
Hi =?Utf-8?B?QWJkdWw=?=,
I'm tryin to use microsoft agent in microsoft office to read what ever i have
in the file.
This is an end-user newsgroup, not a developer one. The Office.developer groups
would be the better place to address questions concerning agent.

You'll have to understand the object model of the Office application you want to
use agent with. For Word, you could loop through each paragraph and have agent
pick up the text. Something like this:

Dim doc as word.Document
Dim para as Word.Paragraph

Set doc = ActiveDocument
For each para in doc.Paragraphs
sAgentText = para.Range.Text
'Put the agent code here to "speak" the text
Next

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top