xref: /trunk/main/helpcontent2/source/text/scalc/guide/rename_table.xhp (revision d8dff77764cb74143fabc617dc8ee25d946bae78)
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="textscalcguiderename_tablexml" indexer="include">
27<title xml-lang="en-US" id="tit">Renaming Sheets</title>
28<filename>/text/scalc/guide/rename_table.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3150398">
33<bookmark_value>renaming;sheets</bookmark_value>
34<bookmark_value>sheet tabs;renaming</bookmark_value>
35<bookmark_value>tables;renaming</bookmark_value>
36<bookmark_value>names; sheets</bookmark_value>
37</bookmark><comment>mw made "renaming sheets" a two level entry.</comment>
38<paragraph xml-lang="en-US" id="hd_id3150398" role="heading" level="1" l10n="U"><variable id="rename_table"><link href="text/scalc/guide/rename_table.xhp" name="Renaming Sheets">Renaming Sheets</link>
39</variable></paragraph>
40<list type="ordered">
41<listitem>
42<paragraph xml-lang="en-US" id="par_id3155131" role="listitem" l10n="U">Click the name of the sheet that you want to change.</paragraph>
43</listitem>
44<listitem>
45<paragraph xml-lang="en-US" id="par_id3146976" role="listitem" l10n="U">Open the context menu and choose the <emph>Rename Sheet</emph> command. A dialog box appears where you can enter a new name.</paragraph>
46</listitem>
47<listitem>
48<paragraph xml-lang="en-US" id="par_id3149260" role="listitem" l10n="U">Enter a new name for the sheet and click <emph>OK</emph>.</paragraph>
49</listitem>
50<listitem>
51<paragraph xml-lang="en-US" id="par_id3149667" role="listitem" l10n="U">Alternatively, hold down the <switchinline select="sys"><caseinline select="MAC">Option key
52</caseinline><defaultinline>Alt key</defaultinline></switchinline> and click on any sheet name and enter the new name directly.</paragraph>
53<embed href="text/shared/00/00000099.xhp#winmanager"/>
54</listitem>
55</list>
56<paragraph xml-lang="en-US" id="par_id0909200810502833" role="paragraph" l10n="NEW">Sheet names can contain almost any character. Some naming restrictions apply when you want to save the spreadsheet to Microsoft Excel format.</paragraph>
57<paragraph xml-lang="en-US" id="par_id090920081050283" role="paragraph" l10n="NEW">When saving to Microsoft Excel format, the following characters are not allowed in sheet names:</paragraph>
58<list type="unordered">
59<listitem>
60<paragraph xml-lang="en-US" id="par_id090920081050281" role="paragraph" l10n="NEW">colon :</paragraph>
61</listitem>
62<listitem>
63<paragraph xml-lang="en-US" id="par_id0909200810502897" role="paragraph" l10n="NEW">back slash \</paragraph>
64</listitem>
65<listitem>
66<paragraph xml-lang="en-US" id="par_id090920081050299" role="paragraph" l10n="NEW">forward slash /</paragraph>
67</listitem>
68<listitem>
69<paragraph xml-lang="en-US" id="par_id0909200810502913" role="paragraph" l10n="NEW">question mark ?</paragraph>
70</listitem>
71<listitem>
72<paragraph xml-lang="en-US" id="par_id090920081050298" role="paragraph" l10n="NEW">asterisk *</paragraph>
73</listitem>
74<listitem>
75<paragraph xml-lang="en-US" id="par_id0909200810502969" role="paragraph" l10n="NEW">left square bracket [</paragraph>
76</listitem>
77<listitem>
78<paragraph xml-lang="en-US" id="par_id0909200810502910" role="paragraph" l10n="NEW">right square bracket ]</paragraph>
79</listitem>
80<listitem>
81<paragraph xml-lang="en-US" id="par_id0909200810502971" role="paragraph" l10n="NEW">single quote ' as the first or last character of the name</paragraph>
82</listitem>
83</list>
84<paragraph xml-lang="en-US" id="par_id090920081050307" role="paragraph" l10n="NEW">In cell references, a sheet name has to be enclosed in single quotes ' if the name contains other characters than alphanumeric or underscore. A single quote contained within a name has to be escaped by doubling it (two single quotes). For example, you want to reference the cell A1 on a sheet with the following name:</paragraph>
85<paragraph xml-lang="en-US" id="par_id0909200810503071" role="paragraph" l10n="NEW">This year's sheet</paragraph>
86<paragraph xml-lang="en-US" id="par_id0909200810503054" role="paragraph" l10n="NEW">The reference must be enclosed in single quotes, and the one single quote inside the name must be doubled:</paragraph>
87<paragraph xml-lang="en-US" id="par_id0909200810503069" role="paragraph" l10n="NEW">'This year''s sheet'.A1</paragraph>
88<paragraph xml-lang="en-US" id="par_id3155444" role="paragraph" l10n="U">The name of a sheet is independent of the name of the spreadsheet. You enter the spreadsheet name when you save it for the first time as a file. The document can contain up to 256 individual sheets, which can have different names.</paragraph>
89<section id="relatedtopics">
90<embed href="text/scalc/guide/multitables.xhp#multitables"/>
91</section>
92</body>
93</helpdocument>
94