How to find and replace subject text within messages or tasks in Outlook?
In Outlook, if there are multiple message subjects or task subjects need to be replaced with your specified text, of course, you can change them one by one, but, do you have any quick way to finish this job at once in Outlook?
Find and replace subject text within multiple messages by using VBA code
Find and replace subject text within multiple tasks by using VBA code
Find and replace subject text within multiple messages by using VBA code
Find the specific text and replace with another in multiple message subjects, the below VBA code can do you a favor, please do with following steps:
1. Select the emails that you want to find and replace the subject text, and then, hold down the "ALT + F11" keys to open the "Microsoft Visual Basic for Applications" window.
2. Then, click "Insert" > "Module", copy and paste below code into the opened blank module, see screenshot:
VBA code: Find and replace the subject text within multiple messages:
Notes: In the above code: xNewSubject = Replace(.Subject, "kte", "Kutools for Excel"), "kte" is the old text you want to find, and "Kutools for Excel" is the new text that you want to replace with. Please change them to your need.

3. Then press "F5" key to run this code, and the specific text in the message subjects have been replaced with the new text as you need, see screenshot:

Find and replace subject text within multiple tasks by using VBA code
If you need to find and replace the subject text in tasks, the following VBA code also can help you.
1. Hold down the "ALT + F11" keys to open the "Microsoft Visual Basic for Applications" window.
2. Then, click "Insert" > "Module", copy and paste below code into the opened blank module, see screenshot:
VBA code: Find and replace the subject text within all tasks:
3. Then press "F5" key to execute this code, and a prompt box is popped out, please type the text that you want to find from the task subjects, see screenshot:

4. Click "OK", and another prompt box is popped out, please enter the new text that you want to replace with, see screenshot:

5. Then click "OK", and a dialog box is displayed to tell you how many subjects have been changed, see screenshot:

6. Click "OK", and the old texts in the task subjects has been replaced with the new ones, see screenshot:

Best Office Productivity Tools
Breaking News: Kutools for Outlook Launches Free Version!
Experience the all-new Kutools for Outlook with 100+ incredible features! Click to download now!
π€ Kutools AI : Uses advanced AI technology to handle emails effortlessly, including replying, summarizing, optimizing, extending, translating, and composing emails.
π§ Email Automation: Auto Reply (Available for POP and IMAP) / Schedule Send Emails / Auto CC/BCC by Rules When Sending Email / Auto Forward (Advanced Rules) / Auto Add Greeting / Automatically Split Multi-Recipient Emails into Individual Messages ...
π¨ Email Management: Recall Emails / Block Scam Emails by Subjects and Others / Delete Duplicate Emails / Advanced Search / Consolidate Folders ...
π Attachments Pro: Batch Save / Batch Detach / Batch Compress / Auto Save / Auto Detach / Auto Compress ...
π Interface Magic: πMore Pretty and Cool Emojis / Remind you when important emails come / Minimize Outlook Instead of Closing ...
π One-click Wonders: Reply All with Attachments / Anti-Phishing Emails / πShow Sender's Time Zone ...
π©πΌβπ€βπ©π» Contacts & Calendar: Batch Add Contacts From Selected Emails / Split a Contact Group to Individual Groups / Remove Birthday Reminders ...
Use Kutools in your preferred language β supports English, Spanish, German, French, Chinese, and 40+ others!

