1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--***********************************************************
4 *
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements.  See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership.  The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License.  You may obtain a copy of the License at
12 *
13 *   http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied.  See the License for the
19 * specific language governing permissions and limitations
20 * under the License.
21 *
22 ***********************************************************-->
23
24<helpdocument version="1.0">
25<meta>
26<topic id="textscalc0106060100xml" indexer="include" status="PUBLISH">
27<title id="tit" xml-lang="en-US">Protecting Sheet</title>
28<filename>/text/scalc/01/06060100.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="hid/.uno:Protect" id="bm_id5349783" localize="false"/><!-- HID added by script -->
33<bookmark xml-lang="en-US" branch="hid/.uno:Protect" id="bm_id3156326" localize="false"/>
34<paragraph role="heading" id="hd_id3153087" xml-lang="en-US" level="1" l10n="U" oldref="1">Protecting Sheet</paragraph>
35<paragraph role="paragraph" id="par_id3148664" xml-lang="en-US" l10n="CHG" oldref="2"><variable id="tabelletext"><ahelp hid=".uno:Protect">Protects the cells in the current sheet from being modified.</ahelp>
36</variable> Choose <emph>Tools - Protect Document - Sheet</emph> to open the <emph>Protect Sheet</emph> dialog in which you then specify sheet protection with or without a password.</paragraph>
37<section id="howtoget">
38<embed href="text/scalc/00/00000406.xhp#exdst"/>
39</section>
40<paragraph role="warning" id="par_id3149664" xml-lang="en-US" l10n="U" oldref="5">To protect cells from further editing, the <emph>Protected</emph> check box must be checked on the <link href="text/scalc/01/05020600.xhp" name="Format - Cells - Cell Protection"><emph>Format - Cells - Cell Protection</emph></link> tab page or on the <emph>Format Cells</emph> context menu.</paragraph>
41<paragraph role="tip" id="par_id3154490" xml-lang="en-US" l10n="U" oldref="8">Unprotected cells or cell ranges can be set up on a protected sheet by using the <emph>Tools - Protect Document - Sheet</emph> and <emph>Format - Cells - Cell Protection</emph> menus:</paragraph>
42<paragraph role="tip" id="par_id3149123" xml-lang="en-US" l10n="U" oldref="16">Select the cells that will be unprotected</paragraph>
43<paragraph role="tip" id="par_id3150329" xml-lang="en-US" l10n="U" oldref="17">Select <emph>Format - Cells - Cell Protection</emph>. Unmark the <emph>Protected</emph> box and click <emph>OK</emph>.</paragraph>
44<paragraph role="tip" id="par_id3156384" xml-lang="en-US" l10n="U" oldref="18">On the <emph>Tools - Protect Document - Sheet</emph> menu, activate protection for the sheet. Effective immediately, only the cell range you selected in step 1 can be edited.</paragraph>
45<paragraph role="tip" id="par_id3149566" xml-lang="en-US" l10n="U" oldref="9">To later change an unprotected area to a protected area, select the range. Next, on the <emph>Format - Cells - Cell Protection</emph> tab page, check the <emph>Protected</emph> box. Finally, choose the <emph>Tools - Protect Document - Sheet</emph> menu. The previously editable range is now protected.</paragraph>
46<paragraph role="tip" id="par_id3153964" xml-lang="en-US" l10n="CHG" oldref="10">Sheet protection also affects the context menu of the sheet tabs at the bottom of the screen. The <emph>Delete</emph> and <emph>Rename</emph> commands cannot be selected.</paragraph>
47<paragraph role="tip" id="par_id3150301" xml-lang="en-US" l10n="U" oldref="19">If a sheet is protected, you will not be able to modify or delete any Cell Styles.</paragraph>
48<paragraph role="paragraph" id="par_id3154656" xml-lang="en-US" l10n="U" oldref="3">A protected sheet or cell range can no longer be modified until this protection is disabled. To disable the protection, choose the <emph>Tools - Protect Document - Sheet</emph> command. If no password was set, the sheet protection is immediately disabled. If the sheet was password protected, the <emph>Remove Protection</emph> dialog opens, where you must enter the password.</paragraph>
49<paragraph role="paragraph" id="par_id3149815" xml-lang="en-US" l10n="U" oldref="11">Once saved, protected sheets can only be saved again by using the <emph>File - Save As</emph> command.</paragraph>
50<paragraph role="heading" id="hd_id3150206" xml-lang="en-US" level="2" l10n="U" oldref="4">Password (optional)</paragraph>
51<paragraph role="paragraph" id="par_id3152990" xml-lang="en-US" l10n="U" oldref="7"><ahelp hid=".uno:Protect">Allows you to enter a password to protect the sheet from unauthorized changes.</ahelp></paragraph>
52<paragraph role="note" id="par_id3148700" xml-lang="en-US" l10n="U" oldref="12">Complete protection of your work can be achieved by combining both options on the <emph>Tools - Protect Document</emph> menu, including password protection. To prohibit opening the document altogether, in the <emph>Save</emph> dialog mark the <emph>Save with password</emph> box before you click the <emph>Save</emph> button.</paragraph>
53</body>
54</helpdocument>
55