Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to change the default subject line prefix ("re:" and "fwd:")

Posted on 2003-12-04
19
2,242 Views
Last Modified: 2010-08-05
I was wondering if it is possible to change the default subject prefix when you forward or reply to an Microsoft Outlook message.  For example, when I forward a message, the subject line automatically reads "Fwd:"<subject of original message>.  Whereas, I would like to custmize my forward subject line to read "John sends..."<subject of original message>.  
I'm using MSOutlook XP.  
Any assistance would be greatly appreciated. =o)
0
Comment
Question by:trixits
  • 8
  • 3
  • 3
  • +2
19 Comments
 
LVL 24

Expert Comment

by:shivsa
ID: 9880163
Hi trixits,
no it not possible, the same question asked before on this many times, but answer was always no.

Cheers!
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9880188
u have to remove it manually everytime u forward or reply the mail.
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 9880592
shivsa - no one's been able to change the default forms for this?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 24

Expert Comment

by:shivsa
ID: 9880616
ASAIK no one. but what i meant is U have to put kinna programatical ideas to hack the outlook code to change this behaviour, may be some VB code or something.  but it is not possible with some options in outlook.
0
 
LVL 13

Accepted Solution

by:
stefri earned 75 total points
ID: 9889996
Open VBA editor (AltF11)
expand Project1
expand Microsoft Outlook Objects
Expand thisOutlookSession

cut and paste the code below
'-------------------cut and paste
Private Sub application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim myOwnText As String
Dim subj As String
myOwnText = "Forwarded by stefri"    '<-------- change to whatever you want
If UCase(Left(Item.Subject, 2)) = "FW" Then
    subj = Mid(Item.Subject, 3)
    Item.Subject = myOwnText & subj
    Cancel = False
End If
End Sub

'-------------------cut and paste

When you close Outlook accept to save the Outlook Project
stefri
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 9905580
I thought there would be a way.  This worked for me.
Do not accept this as an answer, but to alter stefri's post to include RE (replies), you can use the following:

Private Sub application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim myOwnText As String
Dim subj As String
Select Case UCase(Left(Item.Subject, 2))
    Case "FW"
        myOwnText = "Forwarded by Me"    '<-------- change to whatever you want
    Case "RE"
        myOwnText = "Replied to by Me"   '<-------- change to whatever you want
End Select
    subj = Mid(Item.Subject, 3)
    Item.Subject = myOwnText & subj
    Cancel = False
End Sub


Good luck!
0
 
LVL 13

Expert Comment

by:stefri
ID: 9915660
Any success with the little code above?
You have to set the Macro security to Mediulm (Tools/Macro/Security)
If set to High, macros are not fired.

Stefri
0
 
LVL 1

Author Comment

by:trixits
ID: 9922673
Thank for all the posts.  I will try this code this evening and let you know...
0
 

Expert Comment

by:wandererx
ID: 10052435
I was looking for similar code for Outlook 2000, I gave stefri's code a try, but no luck.
0
 
LVL 13

Expert Comment

by:stefri
ID: 10055588
What is your prob?
Where does it hang?
After copying the code, you have to set the Macro security to Medium, save the project when closing outlook
Upon restarting OL, accept the macro activation

Stefri
0
 

Expert Comment

by:wandererx
ID: 10064804
I set macro security to medium. (Tools/Macro/Security)
I even tried setting my Secure content options to medium (Tools/Option/Security)

I followed your directions to the letter above.
Closed Outlook, I get a prompt to save the VBA project "VBAProject.OTM" which I do.

I reopen Outlook, with no errors, but no prompts to enable macro either. Subject prefix remains unchanged when forwarding. No difference other than it just seems to not be working. If I go back into the VB editor I am prompted then to enable macros.

This is for Outlook 2000, I'm not sure if it handles things that much diffrently than 2002 when it comes to VB code.
0
 
LVL 13

Expert Comment

by:stefri
ID: 10065165
You are right....for ol2002
Apparently you have to open VBA then close it to allow macro to be safely run
If you set the macro level to Low, it does not fire as well in OL2002, I am voiceless....

0
 
LVL 13

Expert Comment

by:stefri
ID: 10065176
I will try with OL2000 at office tomorrow
Stay tune
0
 
LVL 13

Expert Comment

by:stefri
ID: 10065218
you wont believe it....
instead of Private Sub application_ItemSend(ByVal Item As Object, Cancel As Boolean), use
               Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) then the macro warning is displayed and macro will be executed!!!!
I did not know VBA was case sensitive....adding some extra security!
stefri
0
 

Expert Comment

by:wandererx
ID: 10071654
VBA is case sensitive? I never knew, but then again I rarely work with it. :) In any case that change did the trick and it works as designed.

Thanks stefri!
0
 
LVL 13

Expert Comment

by:stefri
ID: 10073794
seems to be only case sensitve for outlook events.

Stefri
0
 
LVL 13

Expert Comment

by:stefri
ID: 10254517
trixits
No news from you. Did the modification application_ to Application_ worked
Stefri
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question