Highlight unprotected cells in Excel

This tutorial shows how to Highlight unprotected cells in Excel using the example below; Formula =CELL(“PROTECT”,A1)=0 Explanation To highlight unprotected cells (cells that are unlocked) with conditional formatting, you can use a formula based on the CELL function. In the example shown, the custom formula used to set up conditional formatting is: =CELL(“PROTECT”,A1)=0 Where A1 represents the […]

Password Protect Macro in Excel

Just like you can password protect workbooks and worksheets, you can password protect a macro in Excel from being viewed (and executed). Place a command button on your worksheet and add the following code lines: 1. First, create a simple macro that you want to protect. Range(“A1”).Value = “This is secret code” 2. Next, click Tools, VBAProject Properties. 3. On the […]

Uncategorized

Protect and Unprotect Worksheet in Excel

When you share an Excel file with other users, you may want to protect a worksheet to help prevent it from being changed. 1. Right click a worksheet tab. 2. Click Protect Sheet. 3. Enter a password. 4. Check the actions you allow the users of your worksheet to perform. 5. Click OK. Note: if you don’t check any […]

Uncategorized

How to Protect and Unprotect Workbook in Excel

This example teaches you how to protect the workbook structure in Excel. If you protect the workbook structure, users cannot insert, delete, rename, move, copy, hide or unhide worksheets anymore. 1. Open a workbook. 2. On the Review tab, in the Changes group, click Protect Workbook. 3. Check Structure, enter a password and click OK. Note: […]

Lock Cells in a Worksheet Excel

Lock specific areas of a worksheet You can lock cells in Excel if you want to protect cells from being edited. In this example, we will lock cell A2. Before you start: by default, all cells are locked. However, locking cells has no effect until you protect the worksheet. So when you protect a worksheet, all your cells (=worksheet) will […]

Steps To Password Protect a Workbook in Excel

Limit Others From Accessing Excel Workbook by Adding Password To Your File. Encrypt an Excel file with a password so that it requires a password to open it. 1. Open a workbook. 2. On the File tab, click Save As. 3. Click Browse. 4. Click on the Tools button and click General Options. 5. In the Password to open box, […]