How to programmatically catch selected text?

  • Thread starter Thread starter Luc Querton
  • Start date Start date
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
 
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
 
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
 
Back
Top