Appending text to the subject line of a Reply, Foward or new Email

M

Marty Nahtygal

Can I append text to the subject line of a Reply, Foward or new Email using VBA

I want to append "Attorney Client Privileged" to the Front of the original
Subject before it is sent

Thank you

Marty Nahtygal
(e-mail address removed)
 
M

Michael Bauer [MVP - Outlook]

You can write the text into the Subject property of the Item object in the
ItemSend event.

--
Best regards
Michael Bauer - MVP Outlook
Category Manager - Manage and share your categories:
SAM - The Sending Account Manager:
<http://www.vboffice.net/product.html?lang=en>


Am Tue, 30 Mar 2010 18:31:01 -0700 schrieb Marty Nahtygal:
 
J

JP

Don't you mean "prepend"?

To prepend something to the subject line, do something like

Dim yourText As String
yourText = "Attorney Client Privileged"
MailItem.Subject = yourText & " " & MailItem.Subject

--JP
 

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