How do I replace 'ABC' with 'A23' in multiple email messages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have over 100 messages where I need to change 4 text strings to the same
replacement string for each original string. Can I create a Outlook Rule or a
VB script to do this, under the Rules facility of Outlook?
 
Am Fri, 27 Jan 2006 09:09:03 -0800 schrieb abmfan:

You can´t create a rule but a VBA method to do the replacement. Use a For
Each loop to go through all the Items in a folder.

In OL >= XP you can search in the Item´s Body property with InStr and
replace with the Replace function. After the replacement call the Item´s
Save method.
 
Back
Top