![]() |
|
#2
|
||||
|
||||
|
A simple macro will change the subject of a selected message e.g
Code:
Sub ProcessSubject()
Dim olMsg As MailItem
Const strSubject As String = "ABC123 - "
On Error Resume Next
Set olMsg = ActiveExplorer.Selection.Item(1)
olMsg.Subject = strSubject & olMsg.Subject
olMsg.Save
lbl_Exit:
Exit Sub
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
| Tags |
| edit, subject |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Text from E-mail body in Subject Line | Shazz | Outlook | 0 | 02-05-2013 03:47 AM |
| Auto Subject Line | hollwall | Outlook | 0 | 04-19-2012 08:49 AM |
hyperlinks in subject line
|
daddyb | Outlook | 1 | 01-05-2012 07:40 AM |
Outlook 2010 Web Access Subject line length
|
Emerogork | Outlook | 4 | 06-08-2011 05:50 PM |
getting additional characters in email subject line
|
namishtiwari | Outlook | 1 | 04-21-2009 11:21 PM |