Contents

# Protect Cells

Prevents the contents of the selected cells from being modified.

若要使用此指令...

#### From the menu bar:

Choose Table - Protect Cells.

#### From the tabbed interface:

On the Table menu of the Table tab, choose Protect Cells.

#### From toolbars:

Protect Cells

When the cursor is in a read-only cell, a note appears on the Status Bar.

To remove cell protection, select the cell(s), right-click, and then choose Unprotect Cells.

相關主題

Table

# Protect 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.

若要使用此指令...

#### From the menu bar:

Choose Tools - Protect Sheet.

#### From the tabbed interface:

Choose Review - Protect Sheet

#### From the sheet navigation bar:

Choose Protect Sheet.

#### From toolbars:

Protect Sheet

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

To protect cells from further editing, the Protected check box must be checked on the Format - Cells - Cell Protection tab page or on the Format Cells context menu.

## 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.

Unprotected cells or cell ranges can be set up on a protected sheet by using the Tools - Protect Sheet and Format - Cells - Cell Protection menus:

1. Select the cells that will be unprotected

2. Select Format - Cells - Cell Protection. Unmark the Protected box and click OK.

3. On the Tools - Protect Sheet menu, activate protection for the sheet. Effective immediately, only the cell range you selected in step 1 can be edited.

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.

Sheet protection also affects the context menu of the sheet tabs at the bottom of the screen. The Delete and Rename commands cannot be selected.

If a sheet is protected, you will not be able to modify or delete any Cell Styles.

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.

Once saved, protected sheets can only be saved again by using the File - Save As command.

Complete protection of your work can be achieved by combining the options Tools - Protect Sheet and Tools - Protect Spreadsheet Structure, including password protection. To prohibit opening the document altogether, in the Save dialog mark the Save with password box before you click the Save button.

相關主題

Table