70. Protect Spreadsheet Data
BEFORE YOU BEGIN
60 Format Cells
67 Create a Calc Template
72 Ensure Valid Data Entry
When developing spreadsheet templates (see 67 Create a Calc Template ) or creating spreadsheets that others less savvy in Calc will work with, you may want to protect certain cells from being changed. This protection helps ensure that formulas do not get changed and that fixed data remains fixed.
In addition to protecting individual cells and ranges, you can password-protect entire spreadsheets to keep them secure and to limit access to them.
Cells you designate as protected are only protected if you also protect the spreadsheet.
Select Cells to Protect
Select the cell or the range of cells you want to protect. (Hold Ctrl and click to select multiple cells in a range.) These cells can contain data, be empty, or contain formulas. Also, if you've stored a graphic image in a cell, you can protect that image from being moved or overwritten.
| | Request Cell Protection
Select Format, Cells
from the menu. The Format Cells
dialog box appears.
70. Protect Spreadsheet Data
| | Adjust Cell Protection
Click the Cell Protection
tab to display the Cell Protection
page within the Format Cells
dialog box. If you click to select the Hide all
option, the contents of the selected cells will not appear when the spreadsheet is viewed . The Protected
option keeps the selected cells from being changed. The Hide formula
option hides any formulas in the protected cells, if any formulas reside there.
When you hide formulas, the user cannot see them but can still see the cell values that result from the formulas.
If you want to protect all the sheets in the file, choose Tools, Protect Document, Document .
For additional security, you can add a digital signature to your spreadsheet by choosing File, Digital Signatures and adding a signature in the Digital Signatures dialog box. A digital signature is information that travels with your document and verifies that you created or modified the document.
Click the Hide when printing
option if you don't want the cells to appear when the user prints the spreadsheet. Once you've indicated the protection, click OK
to close the Format Cells
dialog box and apply the protection to your spreadsheet.
Request Sheet Protection
Select Tools, Protect Document, Sheet to open the Protect Sheet dialog box.
Type a Password
In the Protect Sheet dialog box, type a password, press Tab , and type the password once more. The password does not show on the screen in case someone is looking over your shoulder. The second typing of the password ensures that you typed it correctly the first time.
Once you type the password and click OK , you've protected the spreadsheet. Any cells that you now designate as protected (or have before) will now be protected. No user can change the contents of those protected cells without first removing the protection from the entire sheet by selecting Tools, Protect Document, Sheet once again and entering the correct password.