Minty
AWF VIP
- Local time
- Today, 02:16
- Joined
- Jul 26, 2013
- Messages
- 10,637
You could replace the starting bit with
SQL:
SELECT Case Me.ClientStatus
CASE "NPW - No Contact" ,"NPW - Gone Elsewhere" ,"NPW - Unable to Place"
If MsgBox("Would you like to send a refund request for this lead?", vbQuestion + vbYesNo + vbDefaultButton1, "Request refund?") = vbNo Then Exit Sub
CASE ELSE
EXIT SUB
END SELECT
Dim appOutlook As Outlook.Application
Dim MailOutlook As Outlook.MailItem
Dim strSQL As String
Rest of code goes here.....