Hi,
Can any one help to configure my outlook in such a way that
if the user forget to mention the subject and click on send button.
OUtlook should not send and should show a message "Please type subject and try again.."
Thanks
Hi,
Can any one help to configure my outlook in such a way that
if the user forget to mention the subject and click on send button.
OUtlook should not send and should show a message "Please type subject and try again.."
Thanks
Try this in the ThisOutlookSession module
Provided by Sue Mosher at
http:\\www.eggheadcafe.com/forumarch...st25927864.asp
[vba]
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim strMsg As String
Dim res As Long
If Item.Subject = "" Then
Cancel = True
strMsg = "Please fill in the subject before sending."
MsgBox strMsg, vbExclamation + vbSystemModal, "Missing Subject"
Item.Display
End If
End Sub
[/vba]
Last edited by mdmackillop; 07-25-2008 at 04:34 AM. Reason: Link added