summaryrefslogtreecommitdiff
path: root/source/text/scalc/guide/rename_table.xhp
blob: 0cebc5bcf2b930a8c82909e666975a720dab260d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">

<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->


<meta>
      <topic id="textscalcguiderename_tablexml" indexer="include">
         <title xml-lang="en-US" id="tit">Renaming Sheets</title>
         <filename>/text/scalc/guide/rename_table.xhp</filename>
      </topic>
   </meta>
   <body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3150398"><bookmark_value>renaming;sheets</bookmark_value>
      <bookmark_value>sheet tabs;renaming</bookmark_value>
      <bookmark_value>tables;renaming</bookmark_value>
      <bookmark_value>names; sheets</bookmark_value>
</bookmark><comment>mw made "renaming sheets" a two level entry.</comment>
<paragraph xml-lang="en-US" id="hd_id3150398" role="heading" level="1"><variable id="rename_table"><link href="text/scalc/guide/rename_table.xhp" name="Renaming Sheets">Renaming Sheets</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_id701519308848244" xml-lang="en-US">Setting sheet names is an important feature to produce readable and understandable spreadsheets documents. To rename a sheet in your document:</paragraph>
      <list type="ordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3155131" role="listitem">Click on the sheet tab to select it.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3146976" role="listitem">Open the context menu of the sheet tab and choose the <emph>Rename Sheet</emph> command. A dialog box appears where you can enter a new name.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3149260" role="listitem">Enter a new name for the sheet and click <emph>OK</emph>.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3149667" role="listitem">Alternatively, hold down the <switchinline select="sys"><caseinline select="MAC">Option key
</caseinline><defaultinline>Alt key</defaultinline></switchinline> and click on any sheet name and enter the new name directly.</paragraph>
            <embed href="text/shared/00/00000099.xhp#winmanager"/>
         </listitem>
      </list>
      <paragraph xml-lang="en-US" id="par_id0909200810502833" role="paragraph">Sheet names can contain almost any character. Some naming restrictions apply, the following characters are not allowed in sheet names:</paragraph>
      <list type="unordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id090920081050281" role="paragraph">colon :</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id0909200810502897" role="paragraph">back slash \</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id090920081050299" role="paragraph">forward slash /</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id0909200810502913" role="paragraph">question mark ?</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id090920081050298" role="paragraph">asterisk *</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id0909200810502969" role="paragraph">left square bracket [</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id0909200810502910" role="paragraph">right square bracket ]</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id0909200810502971" role="paragraph">single quote ' as the first or last character of the name</paragraph>
         </listitem>
      </list>
      <paragraph xml-lang="en-US" id="par_id090920081050307" role="tip">In cell references, a sheet name must be enclosed in single quotes ' when 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).</paragraph>
      <paragraph role="paragraph" id="par_id321519307869857" xml-lang="en-US">For example, you want to reference the cell A1 on a sheet with the following name:</paragraph>
      <paragraph xml-lang="en-US" id="par_id0909200810503071" role="code">This year's sheet</paragraph>
      <paragraph xml-lang="en-US" id="par_id0909200810503054" role="paragraph">The reference must be enclosed in single quotes, and the one single quote inside the name must be doubled:</paragraph>
      <paragraph xml-lang="en-US" id="par_id0909200810503069" role="code">'This year''s sheet'.A1</paragraph>
      <paragraph xml-lang="en-US" id="par_id3155444" role="tip">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.</paragraph>
      <paragraph xml-lang="en-US" id="par_id471519308256437" role="note">The document can contain up to 10,000 individual sheets, which must have different names.</paragraph>
      <paragraph role="paragraph" id="par_id81519309108908" xml-lang="en-US">You can set a prefix for the names of new sheets you create. See <link href="text/shared/optionen/01061000.xhp" name="prefix names">this page of Calc options.</link></paragraph>
      <section id="relatedtopics">
          <paragraph role="paragraph" id="par_id81519379108908" xml-lang="en-US"><link href="text/shared/optionen/01061000.xhp" name="prefix names">New sheet names prefixing.</link></paragraph>
         <embed href="text/scalc/guide/multitables.xhp#multitables"/>
      </section>
   </body>
</helpdocument>