xref: /trunk/main/helpcontent2/source/text/scalc/guide/rename_table.xhp (revision 6a651fecf90ee55bad04c37055fd93934609af23)
1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
302dbb15cSAndrew Rist<!--***********************************************************
4cdf0e10cSrcweir *
502dbb15cSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
602dbb15cSAndrew Rist * or more contributor license agreements.  See the NOTICE file
702dbb15cSAndrew Rist * distributed with this work for additional information
802dbb15cSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
902dbb15cSAndrew Rist * to you under the Apache License, Version 2.0 (the
1002dbb15cSAndrew Rist * "License"); you may not use this file except in compliance
1102dbb15cSAndrew Rist * with the License.  You may obtain a copy of the License at
12cdf0e10cSrcweir *
1302dbb15cSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
14cdf0e10cSrcweir *
1502dbb15cSAndrew Rist * Unless required by applicable law or agreed to in writing,
1602dbb15cSAndrew Rist * software distributed under the License is distributed on an
1702dbb15cSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1802dbb15cSAndrew Rist * KIND, either express or implied.  See the License for the
1902dbb15cSAndrew Rist * specific language governing permissions and limitations
2002dbb15cSAndrew Rist * under the License.
21cdf0e10cSrcweir *
2202dbb15cSAndrew Rist ***********************************************************-->
2302dbb15cSAndrew Rist
248b0727e7Smseidel<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
26cdf0e10cSrcweir<topic id="textscalcguiderename_tablexml" indexer="include">
27cdf0e10cSrcweir<title xml-lang="en-US" id="tit">Renaming Sheets</title>
28cdf0e10cSrcweir<filename>/text/scalc/guide/rename_table.xhp</filename>
29cdf0e10cSrcweir</topic>
30cdf0e10cSrcweir</meta>
31cdf0e10cSrcweir<body>
328b0727e7Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3150398">
338b0727e7Smseidel<bookmark_value>renaming;sheets</bookmark_value>
34cdf0e10cSrcweir<bookmark_value>sheet tabs;renaming</bookmark_value>
35cdf0e10cSrcweir<bookmark_value>tables;renaming</bookmark_value>
36cdf0e10cSrcweir<bookmark_value>names; sheets</bookmark_value>
37cdf0e10cSrcweir</bookmark><comment>mw made "renaming sheets" a two level entry.</comment>
38*6a651fecSmseidel<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>
39cdf0e10cSrcweir</variable></paragraph>
40cdf0e10cSrcweir<list type="ordered">
41cdf0e10cSrcweir<listitem>
42*6a651fecSmseidel<paragraph xml-lang="en-US" id="par_id3155131" role="listitem" l10n="U">Click the name of the sheet that you want to change.</paragraph>
43cdf0e10cSrcweir</listitem>
44cdf0e10cSrcweir<listitem>
45*6a651fecSmseidel<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>
46cdf0e10cSrcweir</listitem>
47cdf0e10cSrcweir<listitem>
48*6a651fecSmseidel<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>
49cdf0e10cSrcweir</listitem>
50cdf0e10cSrcweir<listitem>
51*6a651fecSmseidel<paragraph xml-lang="en-US" id="par_id3149667" role="listitem" l10n="U">Alternatively, hold down the <switchinline select="sys"><caseinline select="MAC">Option key
52cdf0e10cSrcweir</caseinline><defaultinline>Alt key</defaultinline></switchinline> and click on any sheet name and enter the new name directly.</paragraph>
53cdf0e10cSrcweir<embed href="text/shared/00/00000099.xhp#winmanager"/>
54cdf0e10cSrcweir</listitem>
55cdf0e10cSrcweir</list>
56cdf0e10cSrcweir<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>
57cdf0e10cSrcweir<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>
58cdf0e10cSrcweir<list type="unordered">
59cdf0e10cSrcweir<listitem>
60cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id090920081050281" role="paragraph" l10n="NEW">colon :</paragraph>
61cdf0e10cSrcweir</listitem>
62cdf0e10cSrcweir<listitem>
63cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id0909200810502897" role="paragraph" l10n="NEW">back slash \</paragraph>
64cdf0e10cSrcweir</listitem>
65cdf0e10cSrcweir<listitem>
66cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id090920081050299" role="paragraph" l10n="NEW">forward slash /</paragraph>
67cdf0e10cSrcweir</listitem>
68cdf0e10cSrcweir<listitem>
69cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id0909200810502913" role="paragraph" l10n="NEW">question mark ?</paragraph>
70cdf0e10cSrcweir</listitem>
71cdf0e10cSrcweir<listitem>
72cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id090920081050298" role="paragraph" l10n="NEW">asterisk *</paragraph>
73cdf0e10cSrcweir</listitem>
74cdf0e10cSrcweir<listitem>
75cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id0909200810502969" role="paragraph" l10n="NEW">left square bracket [</paragraph>
76cdf0e10cSrcweir</listitem>
77cdf0e10cSrcweir<listitem>
78cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id0909200810502910" role="paragraph" l10n="NEW">right square bracket ]</paragraph>
79cdf0e10cSrcweir</listitem>
80cdf0e10cSrcweir<listitem>
81cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id0909200810502971" role="paragraph" l10n="NEW">single quote ' as the first or last character of the name</paragraph>
82cdf0e10cSrcweir</listitem>
83cdf0e10cSrcweir</list>
84cdf0e10cSrcweir<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>
85cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id0909200810503071" role="paragraph" l10n="NEW">This year's sheet</paragraph>
86cdf0e10cSrcweir<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>
87cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id0909200810503069" role="paragraph" l10n="NEW">'This year''s sheet'.A1</paragraph>
88*6a651fecSmseidel<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>
89cdf0e10cSrcweir<section id="relatedtopics">
90cdf0e10cSrcweir<embed href="text/scalc/guide/multitables.xhp#multitables"/>
91cdf0e10cSrcweir</section>
92cdf0e10cSrcweir</body>
93cdf0e10cSrcweir</helpdocument>
94