How to Protect Ms Word with Password, and how to create the password

By Iwan
Posted on March 30, 2009
Advertisements

If your computer is used by many people, you need to protect applications that can not be used by all people. There is a simple way so that people can not use the application with Ms Word freely.

How to Protect Ms Word with Password, and how to create the password

We can make an application in which if someone want to use the Microsoft Word application they need to enter a password that we have set. To do so:

1. Open your Microsoft Word application, then select the tab [View].

2. On the tape below, click the [macros].

3. After the window appears “macros”, write “Macro name” with the name “AutoNew.” Note, the name of the macro should be stored with the name “AutoNew.”

4. Click [Create] to start to create a macro.

5. Next, a window will appear Microsoft Visual Basic editor. At the window, type the script below.

pass = InputBox ( “Enter your password.”)
If pass = “secret” Then
End
Else
MsgBox ( “Password that you entered is incorrect.”)
ActiveDocument.Close
End If

In the script above, you can change the “secret” with the password that you wish. Save your macro and then close the Microsoft Word application.

Now, create a new Microsoft Word shortcut by clicking the right mouse on the desktop and select the [New]> [Shortcut]. Fill “Type the location of the item” with “C: Program Files-Microsoft-Office-Office12-WINWORD.EXE” / n, and then click [Next].

Fill “Type a name for this Shortcut” with the name “Microsoft Office Word 2007“. Delete the shortcut in the start menu, and then move the shortcut you just created to the Start menu, replace the original shortcut.

Then close the Microsoft word application. From now on when someone want to use Microsoft Word and create a new document, show box that asks for a password.

Source: pcplus



FBTW DGRDSUDLBLTCGOMSMX

If you like it, you might consider subscribing to our feed

Or else, you could also bookmark it to your favourite social bookmark sites.


RSS feed | Trackback URI

Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post

Search terms tagging for this post: how to create password for messages in Nokia 5800