![]() |
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,
I have used the follwing code in the VB editor. Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim strSubject 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 The above code should not send any message from my outlook which has empty subject. The problem that i face is it has worked successfuly when i have done first time but now its not executing. Please help me in this regard. Thanks in advance, Regards, Chenna Krishna |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003 and Word as email editor - newly created emails appear under 'Word' on taskbar | KingCronos | Outlook - General Queries | 1 | October 23rd 07 09:31 PM |
IE: : PDF Editor | Jimmy Hsu | Outlook Express | 1 | May 5th 07 04:59 AM |
Cannot get into VBA editor (ALT-F11) | Scott Emick | Outlook - General Queries | 1 | May 10th 06 04:48 PM |
Use 3rd Party Editor in Outlook not Word or Built in Editor | Charles | Outlook - Installation | 1 | March 28th 06 03:32 PM |
Word as editor | [email protected] | Outlook - General Queries | 0 | January 19th 06 04:25 PM |