保护工作表

目录
索引 🔎︎

# Protecting Sheet

Protects the cells in the current sheet from being modified.

Choose Tools - Protect Sheet to open the Protect Sheet dialog in which you then specify sheet protection with or without a password, and select the elements of the sheet to protect.

要访问此命令...

选择「工具 - 保护工作表」。

Choose Edit - Cell Protection to activate sheet protection with current cell protection settings.

要防止单元格被编辑，则必须选中「格式 - 单元格 - 单元格保护」选项卡页面上的「已保护」复选框。也可以通过右键菜单中的「单元格格式」打开该页面。

## Protect this sheet and contents of the protected cells

Mark this checkbox to activate protection of sheet and cell contents.

## Password / Confirm

Allows you to enter a password to protect the sheet from unauthorized changes. Confirm the password entered in the first box.

## Allow users of this sheet to

Select the elements to protect from user actions:

- Select protected cells: mark this checkbox to allow you to select protected cells. When the checkbox is unmarked, you cannot select protected cells, the cursor cannot enter in a protected range.

- Select unprotected cells: mark this checkbox to allow user to select unprotected cells. When the checkbox is unmarked, user cannot select unprotected cells, the cursor cannot enter in a unprotected cell or range.

- Insert columns: Allow column insertions even when the sheet is protected. Note that when column insertions is enabled, you can insert columns even when the range to insert the new columns into contains protected cells which will get shifted after the insertion. Cells of the newly inserted columns inherit the Protection property of the range it belongs: when the new cell is inside a protected range, the cell is protected, and when it is in an unprotected range, the cell is unprotected.

- Insert rows: Allow row insertions even when the sheet is protected. Note that when row insertions is enabled, you can insert rows even when the range to insert the new rows into contains protected cells which will get shifted after the insertion. Cells of the newly inserted rows inherit the Protection property of the range it belongs: when the new cell is inside a protected range it is protected, and when it is in an unprotected range, the cell is unprotected.

- Delete columns: Allow column deletions. Note that column deletions are only allowed on unprotected cells.

- Delete rows: Allow row deletions. Note that row deletions are only allowed on unprotected cells.

通过使用「工具 - 保护工作表」和「格式 - 单元格 - 单元格保护」菜单, 可以在受保护的工作表上设置不受保护的单元格或单元格区域:

1. 选择要取消保护的单元格

2. 选择「格式 - 单元格 - 单元格保护」。取消选中「已保护」复选框，然后点击「确定」。

3. 在「工具 - 保护工作表」菜单上, 激活工作表的保护。立即生效, 只有您在第一步中选择的单元格区域可以编辑。

To later change an unprotected area to a protected area:

1. Select the range of cells that will be protected.

2. On the Format - Cells - Cell Protection tab page, check the Protected box.

3. Choose the Tools - Protect Sheet menu. The previously editable range is now protected.

工作表保护还影响屏幕下方工作表选项卡的右键菜单。不能选择「删除」和「重命名」命令。

如果工作表受到保护，则无法修改或删除任何单元格样式。

A protected sheet or cell range can no longer be modified until this protection is disabled, with the exceptions of the settings for columns and row of the Tools - Protect Sheet dialog. To disable the protection, choose the Tools - Protect Sheet command. If no password was set, the sheet protection is immediately disabled. If the sheet was password protected, the Remove Protection dialog opens, where you must enter the password.

受保护的工作表经过保存后，只能使用「文件 - 另存为」命令来重新保存。

通过组合使用选项「工具 - 保护工作表」和「工具 - 保护电子表格结构」，包括密码保护，可以实现对作品的全面保护。若要完全禁止完全打开文档, 请在「保存」对话框中, 选中「使用密码保存」框，然后再点击「保存」按钮。