PC Review


Reply
Thread Tools Rate Thread

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

 
 
Marty Nahtygal
Guest
Posts: n/a
 
      31st Mar 2010
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 Removed)
 
Reply With Quote
 
 
 
 
Michael Bauer [MVP - Outlook]
Guest
Posts: n/a
 
      31st Mar 2010


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:

> 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 Removed)

 
Reply With Quote
 
JP
Guest
Posts: n/a
 
      31st Mar 2010
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


On Mar 30, 9:31*pm, Marty Nahtygal <Marty
Nahty...@discussions.microsoft.com> wrote:
> 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
> mnaht...@hotmail.com


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Customise button reply to and add text to subject line lennymccoy@googlemail.com Microsoft Outlook 1 8th Sep 2008 03:58 PM
Cannot reply to or foward email messages on outlook from MSN Plus shaunrowland@msn.com Microsoft Outlook Discussion 0 6th Jul 2006 12:23 AM
Read and Reply to email using vbscript or macro basing on subject line Dev Microsoft Outlook 1 19th Sep 2005 03:46 PM
not subject, but email text, export to fields, line by line =?Utf-8?B?Ym9va2JhbmU=?= Microsoft Outlook Discussion 0 24th Nov 2004 02:42 AM
Can I include default text in the Subject Line of an email? =?Utf-8?B?RGluYXJpdXM=?= Microsoft Outlook Discussion 3 6th Nov 2003 11:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:01 PM.