excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

excel单元格寻找工作簿

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

You’ve worked hard on your spreadsheet. You don’t want anyone to mess it up. Fortunately, Excel provides some pretty good tools for preventing people from editing various parts of a workbook.

您已经在电子表格上努力工作。 您不希望任何人把它弄乱。 幸运的是,Excel提供了一些相当不错的工具来防止人们编辑工作簿的各个部分。

Protection in Excel is password-based and happens at three different levels.

Excel中的保护是基于密码的,分为三个不同级别。

  • Workbook: You have a few options for protecting a workbook. You can encrypt it with a password to limit who can even open it. You can make the file open as read-only by default so that people have to opt into editing it. And you protect the structure of a workbook so that anyone can open it, but they need a password to rearrange, rename, delete, or create new worksheets.

    工作簿:您有一些保护工作簿的选项。 您可以使用密码对其进行加密,以限制甚至可以打开它的人。 默认情况下,您可以将文件打开为只读状态,以便人们不得不选择对其进行编辑。 而且,您可以保护工作簿的结构,以便任何人都可以打开它,但是他们需要密码才能重新排列,重命名,删除或创建新的工作表。

  • Worksheet: You can protect the data on individual worksheets from being changed.

    工作表:您可以防止单个工作表上的数据被更改。

  • Cell: You can also protect just specific cells on a worksheet from being changed. Technically this method involves protecting a worksheet and then allowing certain cells to be exempt from that protection.

    单元格:您还可以保护工作表上的特定单元格不被更改。 从技术上讲,此方法涉及保护工作表,然后允许某些单元格免受该保护。

You can even combine the protection of those different levels for different effects.

您甚至可以将这些不同级别的保护结合起来以获得不同的效果。

保护整个工作簿免受编辑 (Protect an Entire Workbook from Editing)

You have three choices when it comes to protecting an entire Excel workbook: encrypt the workbook with a password, make the workbook read-only, or protect just the structure of a workbook.

保护整个Excel工作簿时,您有三种选择:使用密码加密工作簿,将工作簿设置为只读或仅保护工作簿的结构。

使用密码加密工作簿 (Encrypt a Workbook with a Password)

For the best protection, you can encrypt the file with a password. Whenever someone tries to open the document, Excel prompts them for a password first.

为了获得最佳保护,您可以使用密码对文件进行加密。 每当有人尝试打开文档时,Excel都会首先提示他们输入密码。

To set it up, open your Excel file and head to the File menu. You’ll see the “Info” category by default. Click the “Protect Workbook” button and then choose “Encrypt with Password” from the dropdown menu.

要进行设置,请打开Excel文件并转到“文件”菜单。 默认情况下,您会看到“信息”类别。 单击“保护工作簿”按钮,然后从下拉菜单中选择“使用密码加密”。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

In the Encrypt Document window that opens, type your password and then click “OK.”

在打开的“加密文档”窗口中,键入密码,然后单击“确定”。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

Note: Pay attention to the warning in this window. Excel does not provide any way to recover a forgotten password, so make sure you use one you’ll remember.

注意:请注意此窗口中的警告。 Excel不提供任何方法来恢复忘记的密码,因此请确保使用您会记住的密码。

Type your password again to confirm and then click “OK.”

再次输入密码进行确认,然后单击“确定”。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

You’ll be returned to your Excel sheet. But, after you close it, the next time you open it, Excel will prompt you to enter the password.

您将返回到Excel工作表。 但是,将其关闭后,下次打开时,Excel会提示您输入密码。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

If you ever want to remove the password protection from the file, open it up (which of course requires you to provide the current password), and then follow the same steps you used for assigning the password. Only this time, make the password field blank and then click “OK.”

如果要从文件中删除密码保护,请打开它(当然需要您提供当前密码),然后按照分配密码的相同步骤进行操作。 仅这次,将密码字段留为空白,然后单击“确定”。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

将工作簿设为只读 (Make a Workbook Read-Only)

Making a workbook open as read-only is super simple. It doesn’t offer any real protection because anyone who opens the file can enable editing, but it can serve as a suggestion to be careful about editing the file.

以只读方式打开工作簿非常简​​单。 它没有提供任何真正的保护,因为打开文件的任何人都可以启用编辑功能,但是它可以作为建议您谨慎编辑文件的建议。

To set it up, open your Excel file and head to the File menu. You’ll see the “Info” category by default. Click the “Protect Workbook” button and then choose “Encrypt with Password” from the dropdown menu.

要进行设置,请打开Excel文件并转到“文件”菜单。 默认情况下,您会看到“信息”类别。 单击“保护工作簿”按钮,然后从下拉菜单中选择“使用密码加密”。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

Now, whenever anyone (including you) opens the file, they get a warning stating that the file’s author would prefer they open it as read-only unless they need to make changes.

现在,只要有人(包括您在内)打开文件,他们都会收到一条警告,指出文件的作者宁愿以只读方式打开文件,除非他们需要进行更改。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

To remove the read-only setting, head back to the File menu, click the “Protect Workbook” button again, and toggle the “Always Open Read-Only” setting off.

要删除只读设置,请返回“文件”菜单,再次单击“保护工作簿”按钮,然后将“始终打开只读”设置关闭。

保护工作簿的结构 (Protect a Workbook’s Structure)

The final way you can add protection at the workbook level is by protecting the workbook’s structure. This type of protection prevents people who don’t have the password from making changes at the workbook level, which means they won’t be able to add, remove, rename, or move worksheets.

您可以在工作簿级别添加保护的最后一种方法是保护工作簿的结构。 这种类型的保护可防止没有密码的人在工作簿级别进行更改,这意味着他们将无法添加,删除,重命名或移动工作表。

To set it up, open your Excel file and head to the File menu. You’ll see the “Info” category by default. Click the “Protect Workbook” button and then choose “Encrypt with Password” from the dropdown menu.

要进行设置,请打开Excel文件并转到“文件”菜单。 默认情况下,您会看到“信息”类别。 单击“保护工作簿”按钮,然后从下拉菜单中选择“使用密码加密”。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

Type your password and click “OK.”

输入密码,然后单击“确定”。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

Confirm your password and click “OK.”

确认密码,然后单击“确定”。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

Anyone can still open the document (assuming you didn’t also encrypt the workbook with a password), but they won’t have access to the structural commands.

任何人仍然可以打开文档(假设您也没有使用密码对工作簿进行加密),但是他们将无法访问结构化命令。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

If someone knows the password, they can get access to those commands by switching over to the “Review” tab and clicking the “Protect Workbook” button.

如果有人知道密码,则可以通过切换到“审阅”选项卡并单击“保护工作簿”按钮来访问这些命令。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

They can then enter the password.

然后,他们可以输入密码。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

And the structural commands become available.

并且结构命令可用。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

It’s important to understand, however, that this action removes the workbook structure protection from the document. To reinstate it, you must go back to the file menu and protect the workbook again.

但是,重要的是要了解,此操作从文档中删除了工作簿结构保护。 要恢复它,您必须返回到文件菜单并再次保护工作簿。

保护工作表免受编辑 (Protect a Worksheet from Editing)

You can also protect individual worksheets from editing. When you protect a worksheet, Excel locks all of the cells from editing. Protecting your worksheet means that no one can edit, reformat, or delete the content.

您还可以保护各个工作表不被编辑。 保护工作表时,Excel会锁定所有单元格,使其无法编辑。 保护您的工作表意味着没有人可以编辑,重新格式化或删除内容。

Click on the “Review” tab on the main Excel ribbon.

单击主Excel功能区上的“审阅”选项卡。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

Click “Protect Sheet.”

点击“保护表”。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

Enter the password you would like to use to unlock the sheet in the future.

输入您将来用来解锁工作表的密码。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

Select the permissions you would like users to have for the worksheet after it is locked. For example, you might want to allow people to format, but not delete, rows and columns.

选择您希望用户在工作表锁定后拥有的权限。 例如,您可能希望允许人们格式化而不是删除行和列。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

Click “OK” when you’re done selecting permissions.

选择权限完成后,单击“确定”。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

Re-enter the password you made to confirm that you remember it and then click “OK.”

重新输入您输入的密码,以确认您记得该密码,然后单击“确定”。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

If you need to remove that protection, head to the “Review” tab and click the “Unprotect Sheet” button.

如果需要删除该保护,请转到“查看”选项卡,然后单击“取消保护工作表”按钮。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

Type your password and then click “OK.”

输入您的密码,然后单击“确定”。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

Your sheet is now unprotected. Note that the protection is entirely removed and that you’ll need to protect the sheet again if you want.

您的工作表现在不受保护。 请注意,保护层已完全删除,如果需要,您将需要再次保护工作表。

保护特定单元格免受编辑 (Protect Specific Cells From Editing)

Sometimes, you may only want to protect specific cells from editing in Microsoft Excel. For example, you might have an important formula or instructions that you want to keep safe. Whatever the reason, you can easily lock only certain cells in Microsoft Excel.

有时,您可能只想保护特定的单元格以免在Microsoft Excel中进行编辑。 例如,您可能有想要保重的重要公式或说明。 无论出于何种原因,您都可以轻松锁定Microsoft Excel中的某些单元格。

Start by selecting the cells you do not want to be locked. It might seem counterintuitive, but hey, that’s Office for you.

选择你不想被锁定的细胞开始。 看起来似乎违反直觉,但是,嘿,这是适合您的Office。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

Now, right-click on the selected cells and choose the “Format Cells” command.

现在,右键单击选定的单元格,然后选择“设置单元格格式”命令。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

In the Format Cells window, switch to the “Protection” tab.

在“设置单元格格式”窗口中,切换到“保护”选项卡。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

Untick the “Locked” checkbox.

取消勾选“锁定”复选框。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

And then click “OK.”

然后点击“确定”。

excel单元格寻找工作簿_如何保护工作簿,工作表和单元格免受Microsoft Excel中的编辑...

Now that you’ve selected the cells for which you want to allow editing, you can lock the rest of the worksheet by following the instructions in the previous section.

现在,您已经选择了要允许对其进行编辑的单元格,您可以按照上一节中的说明锁定工作表的其余部分。

Note that you can lock a worksheet first and then select the cells you want to unlock, but Excel can be a little flaky about that. This method of selecting the cells you want to stay unlocked and then locking the sheet works better.

请注意,您可以先锁定工作表,然后选择要解锁的单元格,但是Excel对此可能有点不稳定。 这种选择要保持解锁状态的单元格然后锁定工作表的方法效果更好。

翻译自: https://www.howtogeek.com/357597/how-to-protect-cells-from-editing-in-microsoft-excel/

excel单元格寻找工作簿

相关文章: