目录

# 重命名工作表

Setting sheet names is an important feature to produce readable and understandable spreadsheets documents.

工作表名称与电子表格的名称无关。在首次将电子表格保存为文件时，输入电子表格名称。

To rename a sheet in your document:

1. Double-click the sheet tab or open its context menu and choose Rename Sheet. A dialog box appears where you can enter a new name.

2. 输入新的工作表名称后请点击「确定」。

3. 或者，按住 Option 键Alt 键并点击任意工作表名称，然后直接输入新名称。

文档可包含最多 10,000 个工作表，其名称必须各不相同。

## Sheet Naming Restrictions

工作表名称可以包含几乎任何字符。有一些命名限制，下述字符不允许出现在工作表名称中:

- colon :

- back slash \

- forward slash /

- question mark ?

- asterisk *

- left square bracket [

- right square bracket ]

- single quote ' as the first or last character of the name

The single quote is Unicode U+0027, also known as apostrophe. Other single-quote characters, similar to apostrophe, are allowed, such as ʼ ‛ and ‚.

## Using a Default Prefix for Sheet Names

You can set a prefix for the names of new sheets you create. Choose LibreOffice - PreferencesTools - Options - LibreOffice Calc - Defaults and enter the prefix name in Prefix name for new worksheet.

## Referencing Sheet Names with Special Characters

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).

For example, you want to reference the cell A1 on a sheet named This year's sheet.

The reference must be enclosed in single quotes, and the one single quote inside the name must be doubled: 'This year''s sheet'.A1

相关主题

应用多个工作表