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.
 

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

Back
Top