![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have added aVB script to check if subject is blank before email is sent. It does not work for my laptop .. it works on my oclleagues machine. What settings do I have to make/modify to enable it on my machine. Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim strSubject As String 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 wll appreciate help. Rgds Sandy |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |