Does anyone know of any way to require email messages to have a subject line when using Outlook 2003 and Exchange 2003? I've looked through ESM, but I can't seem to find anything applicable.
To create the macro in Outlook 2003, go to Tools -> Macro -> Visual Basic Editor (this feature has to be installed). In Microsoft Office Outlook Objects -> ThisOutlookSession, paste the following code:
Private Sub Application_ItemSend _
(ByVal Item As Object, Cancel As Boolean)
Dim strMessage As String
Dim lngRes As Long
If Item.Subject = "" Then
Cancel = True
strMessage = "Please fill in the subject before sending."
MsgBox strMessage, _
vbExclamation + vbSystemModal, "Missing Subject"
Item.Display
End If
End Sub
But then this macro would have to be installed on all of the PCs, correct? I was hoping for something more centralized, since I have several hundred PCs and users (many of whom rotate among PCs).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.