Engadget

Remap ‘E’ Key to close Microsoft Word Prank

 tháng 10 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
Gửi email bài đăng nàyBlogThis!Chia sẻ lên XChia sẻ lên Facebook
Bài đăng Mới hơn Bài đăng Cũ hơn Trang chủ

0 nhận xét:

Đăng nhận xét

Popular Posts

  • Proper use of English could get a virus past security
    “ Hackers evade most existing antivirus protection by hiding malicious code in texts, according to security researchers. ”
  • How to Rename Recycle Bin
    You can change the name of Recycle Bin Desktop Icon . 1-Click Start menu > Run > and type “regedit” (without quotes), to ru...
  • New BIOS Virus Which Can Make Your Anti-Virus Useless
    Hackers Have once again launched a Root kit Virus which loads directly into the BIOS memory of the computer and makes it prone . W...
  • Should You Use Hubitat to Automate Your Smarthome?
    The first step in building a smarthome is often choosing a hub, and there are many options. Hubitat is a unique cloud-independent hub. It...
  • 35+ Nokia Cheat Codes
    Nokia is a cell phone marketing company which is currently comes in world top rates mobile phones. Now its obvious that a company like No...
  • What’s the Difference Between Canon’s Regular and L-Series Lenses and Which Should You Buy
    Canon sells regular and L-series lenses (the "L" stands for luxury). While the lenses may have similar specs, you can usually exce...
  • Instructions to earn $ 10 / day to get Amazon Gift Card, Paypal
    You follow the steps below as well as for your Ref, please comment on how to make and receive money. The sponsor of this site is also Am...
  • Autodesk 3ds Max 2017 full + KeyGen - Professional 3D graphics
    Autodesk 3ds Max, formerly 3D Studio, then 3D Studio Max is a professional 3D graphics program for 3D animation, models, games and i...
  • INTRODUCTION AND GUIDANCE TO REGISTER VPS IN VULTR
    I. REGISTER VPS SERVER VULTR First we access the homepage of Vultr. Create a VPS account Here you need to enter email information to create ...
  • Download Adobe Photoshop PTS CS6 Full + Installation Guide
    As a designer, a photographer, or just a photo-editing enthusiast, no one is aware of adobe photoshop.  Adobe Photoshop CS6 was born long ag...

The Best Penlights for Pocket-Friendly Illumination

Your phone may have a built-in flashlight, but do you really feel comfortable propping your phone inside of your car's engine bay, or ag...

Được tạo bởi Blogger.

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