![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi,
Open outlook, press Alt+F11 and press Ctrl+R. Navigate to "ThisOutlookSession" and paste the below code, save (Ctrl+S) and close VB editor. close and reopen outlook, enable macros. Code------- Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) strSubject$ = Item.Subject If Len(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 -- Thanks, Vivek "Collector Dave" wrote: How can I prevent Outlook 2007 from sending an email with a blank subject line? Help Please!! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook blank subject line | Paul[_17_] | Outlook - General Queries | 2 | February 2nd 09 08:03 PM |
Resend subject line is blank. | Tish | Outlook - Installation | 4 | March 6th 07 05:55 PM |
outlook 2003 sending blank subject mail | Mark | Outlook - Installation | 1 | February 15th 06 07:54 PM |
outlook 2003 sending blank subject mail | Mark | Outlook - Installation | 0 | February 15th 06 11:19 AM |
Can Outlook warn if sending with a blank subject line | ulkash | Outlook - General Queries | 4 | February 7th 06 12:55 PM |