Select all message body and delete

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there,

I am using outlook 2003 + Outlook Email Editor.

What I want to do is for new/reply message I am composing, I can use a VBA
code to select all the first 10 lines of text and delete them.

I know I can do this manually, but I am trying to do this using VBA so that
I can attach other features into this.

Thank you very much for the help.
 
Not possible in that configuration if you are using plain text or rtf. If
using HTML then your code can get HTMLEditor and its Document object and use
code on that. The code would be standard IE type HTML code available when
you reference the shdocvw.dll (Internet Controls).
 
Thank you for the reply.

I have some basics in VBA but I'm lost in html. The message body we use is
based on html.

Can you point me in the right direction in how to do this?

Thank you.
 
Back
Top