Add a string to an email

  • Thread starter Thread starter Constantine
  • Start date Start date
C

Constantine

I am a total newbie to programming in Outlook. I've done Excel & Word
VBA stuff, but not Outlook.

I want to create the electronic equivalent to a rubber Approval stamp.

How can I add either a string or a signature to an email that I have
received?

I attempted to use code that used "objItem.Body = strApproval &
objItem.Body" but I lost all formatting of the original email.

Can someone point me in the right direction, please.

Thank you.
 
Thanks, but I already tried to modify that very same macro. My
problem is that it looses the formatting of the original email.

I'll continue exploring code sites, but I'm definately open to any
pointers.

Would adding a JPEG file be any easier?
 
A JPG would be an attachment and wouldn't display inline.

Maintaining formatting is more difficult. You have to use HTML coding for
that mostly since trying to do your own RTF is a real dog. See
http://www.outlookcode.com/d/formatmsg.htm for various options.
 
I am a total newbie to programming in Outlook. I've done Excel & Word
VBA stuff, but not Outlook.

I want to create the electronic equivalent to a rubber Approval stamp.

How can I add either a string or a signature to an email that I have
received?

I attempted to use code that used "objItem.Body = strApproval &
objItem.Body" but I lost all formatting of the original email.

Can someone point me in the right direction, please.

Thank you.

All about adding strings to emails here:

http://www.321books.co.uk/ebooks/outlook-vba-tutorial.htm

Also provides a quick newbie introduction to Outlook VBA
 

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