Delimiters in Subject line

K

Kiran

Hi,
Can I remove all the delimiters (like ,:;-) in the subject line for
the mails in my pst.

Thanks
Kiran
 
M

Michael Bauer [MVP - Outlook]

This does it for one selected mailitem:

Dim Mail As MailItem
Set Mail=Application.ActiveExplorer.Selection(1)
Mail.Subject=Replace(Mail.Subject, ";", "")
Mail.Save

Here's a sample for how to loop through all of your folders:
http://www.vboffice.net/sample.html?mnu=2&pub=6&lang=en&smp=12&cmd=showitem

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>

Am Tue, 12 May 2009 05:34:04 -0700 schrieb Kiran:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top