Capturing selected text from out look message

S

Siva

Hi
I am trying to retrieve the selected text from the
outlook mail item. I was able to retreive the total body
of the message, but I need only the selected text. I used
the Application.Selection.Range.Text to retrive the text
in Word.
I am trying to get the same functionality in outlook
messages, but I can't? Please return immediately if any
has idea.

Thanks
 
S

Siva

Dear Dmitry,
Thanks for your reply. Actually I am opening the
message box by double clicking with what ever default
editor its having. I want the file to be in .msg
extension. Is it possible to retrieve text in that case?
If I need to implement in either Word/HTML could you send
me some more detailed code to retrieve text.
I appreciate your time and help.
Thanks,
Siva
 
W

woody

i cant think of a way to do it like word. if the text is
delimited by known values you coudl use instr to locate
the start and end and then mid to pull it out.
 

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