You can't. Even in an open item you can't access the selected text in
the Inspector unless you are using Word as your editor and use the
Word object model.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"NewCoder" <(E-Mail Removed)> wrote in message
news:90637D1E-CD5D-4D25-A893-(E-Mail Removed)...
> I have a section of code that can get control via a button that I
have added on an explorer command bar, ala ItemsCB. Everything works
as expected. I can determine when the appropriate item is selected.
When the selected item is an Inbox plain-text message, I want to
access the text that is being shown in the preview pane. I want only
the text that may have been highlighted by the user, not the entire
message body. How could I do this?