A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 27th 06, 05:09 PM posted to microsoft.public.outlook.program_vba
abmfan
external usenet poster
 
Posts: 1
Default How do I replace 'ABC' with 'A23' in multiple email messages

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?
Ads
  #2  
Old January 30th 06, 06:34 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default How do I replace 'ABC' with 'A23' in multiple email messages

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.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


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?

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace inbox? Eskimo Outlook Express 9 February 22nd 06 02:01 PM
replace my old Email by new one ahmed Outlook - Using Contacts 0 February 6th 06 09:33 PM
remove and replace Contacts golfnut75 Outlook - Using Contacts 0 January 25th 06 05:21 PM
Multiple email accounts llbarnhill Outlook - General Queries 2 January 19th 06 12:06 AM
multiple email accounts JOHN BOYLE Outlook Express 3 January 9th 06 12:41 PM


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright Đ2004-2025 Outlook Banter.
The comments are property of their posters.