Password-Protect and Encrypt Workbooks
Passwords are a simple way to protect sensitive data in a workbook. You can use passwords to encrypt a workbook to provide added security. Encryption prevents hackers from being able to read your workbook by disassembling the file in some way.
To add a password to a workbook in Excel:
Choose Save As from the File menu. Excel displays the Save As dialog box.
On the Save As dialog box, click the Tools menu and select General Options. Excel displays the Save Options dialog box shown in Figure 26-4.

Figure 26-4. Use Save Options to add passwords and encryption
Enter passwords in the “Password to open” and/or “Password to modify” text boxes and click OK. To create a workbook that everyone can read but only password holders can edit, set “Password to modify” and leave “Password to open” blank.
Excel prompts you to confirm the passwords entered in the previous step.
To add encryption to a workbook:
Click the Advanced button after Step 2 in the preceding list. Excel displays the Encryption Type dialog box shown in Figure 26-5.
Select an encryption type from the listed encryption providers, choose an encryption key length, and click OK.
Proceed with setting the workbook password.

Figure 26-5. Choosing an encryption type
The encryption providers you have installed ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access