Topics in this sectionWorkbook Protection1 topic
- Setting a Password for a Workbook
Protecting Your Excel Workbook with a Password
When you create important spreadsheets in Excel — such as a school attendance register, a market sales record, or a budget for your family's shop — you may need to keep the data safe from being changed by other people. One way to do this is by setting a password on your workbook. A password acts like a lock on a door; only people who know the password can open the workbook and make changes.
Workbook protection is a feature in Microsoft Excel that restricts who can open, view, or edit a workbook. When you protect a workbook with a password, anyone who tries to open it must enter the correct password first. This is especially useful for protecting sensitive information such as exam marks, employee salary records, or business inventory lists.
Excel offers two main types of protection:
-
Protect Workbook structure — This prevents users from adding, deleting, or hiding worksheets. It also stops users from renaming worksheets or moving them to a different position in the workbook.
-
Protect Workbook with a password — This requires anyone who wants to open the workbook to enter a password. Without the password, the workbook remains locked and cannot be viewed or edited.
Both types help keep your data secure, but the password option gives stronger protection because it controls access to the entire file.
Follow these steps to protect your Excel workbook with a password:
-
Open your Excel workbook that you want to protect.
-
Click the "File" tab in the top-left corner of the Excel window. This opens the Backstage view where you can access save, print, and protection options.
-
Select "Info" from the menu on the left side of the screen.
-
Click "Protect Workbook" — a button that shows a small lock icon. A dropdown menu will appear.
-
Choose "Encrypt with Password" from the dropdown menu. A dialog box will appear asking you to enter a password.
-
Type a password in the password field. Choose a password you can remember easily, such as a combination of letters and numbers. Excel is case-sensitive, so "School2024" and "school2024" would be different passwords.
-
Re-enter the same password in the confirmation field to make sure you typed it correctly.
-
Click "OK" to confirm. Your workbook is now protected.
-
Save your workbook by pressing Ctrl+S or clicking the Save button. The password will be applied to the file each time you open it.
The next time you or anyone else tries to open this workbook, Excel will display a password dialog box. The workbook contents will remain hidden until the correct password is entered.
Imagine Mercy, a teacher at a secondary school in Juba, has created an Excel workbook with examination marks for her S2 class. The workbook contains four worksheets: English, Mathematics, Science, and Summary. Mercy wants to protect this data so that only she can open and edit the marks.
Mercy follows the steps above and sets the password "MercyS2@2024". She saves the workbook and closes it. When she reopens it later, Excel asks for the password. She enters "MercyS2@2024" and can access all the marks. If a colleague accidentally tries to open the file without knowing the password, Excel will refuse to show the contents, keeping the student marks secure.
- Password protection — A security feature that requires a password to access or edit a file
- Workbook protection — Excel's built-in feature that restricts changes to a workbook's structure or contents
- Secure workbook — A workbook that has been protected with a password to prevent unauthorized access
In South Sudan, small business owners in markets like Konyo Konyo in Juba or the weekly boma markets use Excel spreadsheets to track sales of sorghum, groundnuts, and dried fish. A shop owner who records daily profits in an Excel workbook can set a password to protect their financial records from being accidentally changed by family members who share the computer. This simple step keeps business information private and prevents costly mistakes.
Question
What is the main purpose of setting a password on an Excel workbook?
Sign in to submit your answer and have it count toward your mastery.
Sign in to practiceTutor
Stuck? Ask me anything about this topic.
Sign in to ask the Sonza AI Tutor about this question.
Sign in to askDiscussions
No questions yet