Capturing selected text from out look message

  • Thread starter Thread starter Siva
  • Start date Start date
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
 
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
 
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.
 
Back
Top