Protect an Excel file - Microsoft Support (2024)

To prevent others from accessing data in your Excel files, protect your Excel file with a password.

Protect an Excel file - Microsoft Support (1)

Note:This topic covers file-level protection only, and not workbook or worksheet protection. To learn the difference between protecting your Excel file, workbook, or a worksheet, see Protection and security in Excel.

  1. Select File > Info.

  2. Select the Protect Workbook box and choose Encrypt with Password.

  3. Enter a password in the Password box, and then select OK.

  4. Confirm the password in the Reenter Password box, and then select OK.

Warning:

  • Microsoft cannot retrieve forgotten passwords, so be sure that your password is especially memorable.

  • There are no restrictions on the passwords you use with regards to length, characters or numbers, but passwords are case-sensitive.

  • It’s not always secure to distribute password-protected files that contain sensitive information such as credit card numbers.

  • Be cautious when sharing files or passwords with other users. You still run the risk of passwords them falling into the hands of unintended users. Remember that locking a file with a password does not necessarily protect your file from malicious intent.

Need more help?

You can always ask an expert in the Excel Tech Communityor get support inCommunities.

See Also

Protect a workbook

Protect a worksheet

Protection and security in Excel

Need more help?

Want more options?

Discover Community

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Protect an Excel file - Microsoft Support (2024)
Top Articles
Latest Posts
Article information

Author: Terrell Hackett

Last Updated:

Views: 6148

Rating: 4.1 / 5 (72 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Terrell Hackett

Birthday: 1992-03-17

Address: Suite 453 459 Gibson Squares, East Adriane, AK 71925-5692

Phone: +21811810803470

Job: Chief Representative

Hobby: Board games, Rock climbing, Ghost hunting, Origami, Kabaddi, Mushroom hunting, Gaming

Introduction: My name is Terrell Hackett, I am a gleaming, brainy, courageous, helpful, healthy, cooperative, graceful person who loves writing and wants to share my knowledge and understanding with you.