Link to home
Start Free TrialLog in
Avatar of bsharath
bsharathFlag for India

asked on

When replying or fw how can i remove that message.that come automatically in the subject as Re\Fw

Hi,

When replying or fw how can i remove that message.that come automatically in the subject as Re\Fw.

I want that to happen to all emails that i forward or reply.

regards
Sharath
Avatar of kpmartin
kpmartin
Flag of United States of America image

Pretty simple to just highlight and delete the subject and type your own in there.  Same with the body just<ctrl>a to select all and delete.  I do that all the time especially to clean up multiple forwards.  Highlight the orig text/photos and cut/paste back then delete all the forward marks lines etc.
Avatar of David Lee
Hi, Sharath.

This is another question that's difficult to solve because of the way Outlook works.  In order to detect when a message is being replied to or forwarded requires that the code set a watch on it.  Seems simple enough until you consider that you can open more than one message at a time.  That means the code has to be able to monitor multiple items at once.  Here's what happens if the code can't monitor multiple items at once.  You open message #1 and the code begins monitoring it.  You then open item #2 and the code drops the monitor on the first item and begins monitoring the second item.  You then close item #2.  The code stops monitoring it and is now monitoring nothing.  When you reply to item #1 nothing happens.  Unfortunately, monitoring multiple items at once is a major undertaking.  It requires writing something called a wrapper class.  This class can monitor multiple open items, but as I said it is a MAJOR undertaking.  That's in the realm of professional programming.  

A simpler solution is to write a macro that only works for one item and only for items in the inbox.  Such a solution will not work for items that aren't in the inbox and will fail completely if two items are opened at once.  

A better solution is to add code to the ItemSend subroutine that strips the "RE:" or "FW:" as the messages are sent instead of attempting to strip them when you click reply or forward.
Avatar of bsharath

ASKER

Hi David,

A better solution is to add code to the ItemSend subroutine that strips the "RE:" or "FW:" as the messages are sent instead of attempting to strip them when you click reply or forward.

The above seems fine. If i cannot see the change i dont mind. If the users can get the subject without them i am happy. Though i can see them in the sent mails
ASKER CERTIFIED SOLUTION
Avatar of David Lee
David Lee
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This prob can be resolved by making changes in the code, as mentioned by BlueDevilFan in his reply. But, playing with codes can be risky so better remove RE: or FW: manually.

Because, while playing with codes if you do some wring changes then Outlook  may create another sort of issues.
Avatar of SdDeo
SdDeo

Code is not Working for me. While adding the Code in Apllication_Itemsend, It says an Argument is required.
I am new to VB.Can you help me get this right,
 
The line of code in Application_ItemSend should be

StripFWandRE Item
Thanks !!!! Its working Perfectly
You're welcome.