Contents

# 重新命名試算表

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

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.

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 鍵並按一下任一工作表名稱，即可直接輸入新名稱。

The document can contain up to 10,000 individual sheets, which must have different names.

## Sheet Naming Restrictions

Sheet names can contain almost any character. Some naming restrictions apply, the following characters are not allowed in sheet names:

- 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 - Preferences Tools - 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

相關主題

套用多個工作表

Please support us!