Inside The Web
    Facebook Twitter Instagram
    Inside The Web
    • Office
      • Excel
      • Ms Word
      • OneDrive
      • Google Docs
      • Google Sheets
      • Google Drive
    • Email
      • Gmail
      • Outlook
      • Emal Etiquette
    • Office Etiquette
    • Productivity
    Inside The Web
    Home»Office»Excel»How to Password Protect an Excel Sheet

    How to Password Protect an Excel Sheet

    Nisha GurungBy Nisha GurungMarch 18, 2023 Excel 5 Mins Read

    Before sharing files with your teams, protecting sheet is the first thing you should do to avoid data loss. Excel offers different level of file protection like Protect Sheet, Protect Workbook, and Protect File.

    Using them, you can encrypt your entire file with a password or protect only the worksheets. Keep reading the article to learn how to protect your Excel files in various circumstances.

    Warning:  By chance, if you lose the password, you won’t be able to retrieve them. So, it is best to record the password as a backup and be on the safe side. Always be cautious while sharing Protected worksheets that have sensitive information. Excel’s Worksheet Protection is intended to limit users from editing cells only. It does not guarantee security.

    Protect Sheet

    If you want to control the ability of users to modify the worksheet, Worksheet Protection is best for you. Before protecting the sheet, you will have around 15 options to allow or restrict users from making changes to your worksheet. For instance, while giving users access to insert rows, you can limit them from deleting rows. 

    Normally, this type of protection has two steps – Lock Cells and Protect Sheets. As all the cells are already locked by Excel, you can proceed with the Protect Sheet. However, if you wish to lock only a specific area, we have a detailed article on How to lock cells on Excel. 

    To Protect Sheet, 

    1. Open the Worksheet to protect.
    2. Navigate to Review Tab > Protect Sheet. 
      Navigate to Review Tab - Protect Sheet
    3. Protect Sheet dialogue box will pop-up on the screen. On Allow all users of this worksheet to, pick any options.
      On Allow all users of this worksheet to, pick the following options
    • Select locked cells: Select locked ranges. Excel allows this by default anyway. 
    • Select unlocked cells: Make a selection of unlocked ranges. 
    • Format cells: Modify Conditional Formatting or Format Cells.
    • Format columns: Hide Columns, Reshape Column Width.
    • Format rows: Hide Rows and apply Row Formatting.
    • Insert columns: Extend columns.
    • Insert rows: Insert additional rows.
    • Insert hyperlinks: Add Hyperlinks.
    • Delete columns: Cancel out Columns. 
    • Delete rows: Eliminate Rows.
    • Sort: Use commands to rearrange data order. However, after protecting sheet, this option is greyed out. 
    • Use AutoFilter: Filter data when AutoFilter is on. However, protected sheet restricts users from turning on and off Auto Filter. 
    • Use PivotTable and PivotChart: Readjust PivotTable layouts and reports.
    • Edit objects: Edit Graphs, charts, comments, notes, etc.
    • Edit scenarios: Add, view, eliminate scenarios
    1. Now, hover over Password to unprotect sheet field. Enter a new Passcode or Password to Protect Sheet. Click OK. (This is optional)
      Enter a new Passcode or Password to Protect Sheet
    2. Again, re-type the Password on confirmation pop-up and hit OK.
      re-type the Password on confirmation pop-up and hit OK

    Protect Workbook

    With Worksheet Protection, you will be able to control the user’s activities within one sheet only. But, if you have multiple sheets in a workbook, there are chances of users interfering with other worksheets too. 

    In such case, apply Workbook Structure Protection on your file by keeping a password. This feature will restrict others from inserting, hiding, eliminating, or customizing worksheets in your workbook. I use this protection when I want Person A to modify only Worksheet 1 and not the other sheets.

    To Protect Workbook,

    1. Open Excel Workbook.
    2. Click Review tab > Protect Workbook.
      Click Review Tab - Protect Workbook
    3. On the Protect Structure and Windows box, type a Password in the field. Hit OK. (This is optional)
      type a Password in the field
    4. If you kept password, Re-enter them again and click OK.
      Re-enter them again and click OK

    Protect File

    If your Excel file contains confidential or sensitive information, we recommend File-level protection. You can password-protect the entire file to block other users from opening or viewing them.

    Here, only you can open the workbook using the password. Most Excel users employ this protection while saving files in a shared location like Office PC. 

    Here’s how you protect files, 

    1. On your worksheet, click File Tab.
    2. Select Info tab on left panel.
      Select Info tab on left Panel
    3. Click on Protect Workbook > Encrypt with Password. 
      Click on Protect Workbook-Encrypt with Password
    4. Type a Password to lock the file with and click OK.
      Type a Password to lock the file with and click OK
    5. Again, type in the same Password for confirmation. Then, hit OK. 
      type in the same Password for confirmation

    In case, you want to share the file with your organization or teammates, you can allow them to open file while restricting the ability to modify it. To do so, follow the given steps.

    1. On your Excel Workbook, click File Tab.
    2. Select Save As and pick Browse.
      Select Save As and pick Browse
    3. At the bottom, expand Tools > General Options.
      expand Tools-General Options
    4. On Password to modify, enter Password. Then, hit OK.
      On Password to modify, enter Password
    5. Confirm Password and click OK.
      Confirm Password and click OK
    6. Hit Save button.
      Hit Save Button

    Other Ways to Protect Sheet

    Apart from the default menu, there are other ways to Protect sheet which include protecting specific ranges or allowing only the view option. 

    Protect Ranges

    Similar to locking cells in a worksheet, you can also protect certain ranges with a password. Here, you can specify only a few people for editing ranges. 

    1. On your spreadsheet, select the Cell Ranges to lock.
    2. Go to Review > Allow Edit Ranges.
      Go to Review -Allow Edit Ranges
    3. Click on New.
      Click on New
    4. On the Range password, type Password. Click OK.
      On the Range password, type Password
    5. Confirm Password and hit OK. 
      Confirm Password and hit OK
    6. Click Protect Sheet. 
      Click Protect Sheet
    7. Enter Password for Sheet and click OK. 
      Enter Password for Sheet and click OK
    8. Re-confirm the Password and hit OK. 
      Re-confirm the Password and hit OK

    Set View Only option while sharing

    Whenever you are sharing a workbook, set the option as Can view. It is a very minor yet significant thing you can consider while sharing files with others.

    By doing so, other users will have the file in read-only format. Therefore, you don’t need to protect the worksheets with a password. But, this method is only effective if you’re sharing for viewing purposes.

    1. Navigate to File tab on your worksheet.
    2. Click on Share > Share with People. 
      Click on Share-Share with People
    3. On Invite people, enter Email address. 
    4. Then, set the option Can view. Click Share.
      Set the option Can View
    Excel Basics
    Nisha Gurung

      As a Business Student, Nisha first used Excel to outline data trends for her college projects. Later, she started exploring basic Excel functions when she realized it is a powerful tool for all businesses today. Nisha believes she can relate to many of the issues users face when starting their Excel Journey. She uses this knowledge and experience to curate contents that are fit for all types of Excel users. Apart from writing, she enjoys reading books and traveling.

      Related Posts

      Excel By Nisha Gurung

      How to Compare Two Columns in Excel Using VLOOKUP

      Excel By Nisha Gurung

      How to Share Excel Files with Multiple Users

      Excel By Nisha Gurung

      How to Filter Based on a List in Excel

      Add A Comment
      Table of ContentsToggle Table of ContentToggle
      • Protect Sheet
      • Protect Workbook
      • Protect File
      • Other Ways to Protect Sheet
        • Protect Ranges
        • Set View Only option while sharing
      • Home
      • About Us
      • Privacy Policy
      © 2025 Inside The Web

      Type above and press Enter to search. Press Esc to cancel.