How to programmatically catch selected text?

L

Luc Querton

Greetings,

Assume some text is manually selected (highlighted) in the preview pane, is
there any programmatic way to catch it to assign it in order to a variable?

If not, is it at all possible in an "ActiveExplorer" or "Inspector" object?

Thanks for your guidance,
Luc
 
K

Ken Slovak - [MVP - Outlook]

If text is selected in an open item and you are using WordMail then
you can see what's selected by using the Word object model on that
open document. Otherwise you cannot tell what text is selected.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm
 
L

Luc Querton

That is what I suspected. Thanks for your reply.
Luc


Ken Slovak - said:
If text is selected in an open item and you are using WordMail then
you can see what's selected by using the Word object model on that
open document. Otherwise you cannot tell what text is selected.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm


Luc Querton said:
Greetings,

Assume some text is manually selected (highlighted) in the preview pane, is
there any programmatic way to catch it to assign it in order to a variable?

If not, is it at all possible in an "ActiveExplorer" or "Inspector" object?

Thanks for your guidance,
Luc
 

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

Top