Hi Team,
Could you please help me below requested.
Whenever I send mail to all without subject it should popup the error message
So that I can send mail to all with subject only.
Please help me
THank you!
Best Regards Mahesh
Hi Team,
Could you please help me below requested.
Whenever I send mail to all without subject it should popup the error message
So that I can send mail to all with subject only.
Please help me
THank you!
Best Regards Mahesh
Hi PATTANAM
Google on "require subject line in outlook"...you'll get many hits...this is but one.
![]()
Option Explicit Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim strSubject As String Dim Prompt As String strSubject = Item.Subject If Len(Trim(strSubject)) = 0 Then Prompt = "Subject is Empty. Are you sure you want to send the Mail?" If MsgBox(Prompt, vbYesNo + vbQuestion + vbMsgBoxSetForeground, "Check for Subject") = vbNo Then Cancel = True End If End If End Sub
Last edited by jaslake; 10-24-2011 at 10:37 PM.
John
If you have issues with Code I've provided, I appreciate your feedback.
In the event Code provided resolves your issue, please mark your Thread as SOLVED.
If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks