Remind me if Subject line is blank




I have got the code to check if the subject line is blank, but if the

Tools>Option>Mail Format> Check box "Use Microsoft Office Word 2003 to edit
e-mail message" is checked.

The message is prompted in the Outlook window and not in the composed new
email window. It works fine, if the "Use Microsoft Office word 2003.." check
box is unchecked.

I use ,

'Private Sub Application_ItemSend _
' (ByVal Item As Object, Cancel As Boolean)
' MsgBox "Working here"
' If Item.Subject = "" Then
' Cancel = True
' MsgBox "Please fill in the subject before sending.", _
' vbExclamation, "Missing Subject"
' End If
'End Sub

Microsoft Outlook 2003 on Microsoft XP Professional.

Please let me know, how the message prompt could be made to prompt in the
"New Email" window itself.



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