目录

# 电子表格快捷键

以下列出的某些快捷键可能已被您的操作系统占用。被操作系统占用的快捷键不能用于 LibreOffice. 如果出现了这种情况，请在「工具 - 自定义 - 键盘」中为 LibreOffice 绑定不同的快捷键。

## To fill a selected cell range with formula

To fill a selected cell range with the formula that you entered on the Input line, press Option Alt+Enter.

## To enter an array formula

To create a matrix in which all the cells contain the same information as what you entered on the Input line, press Shift+Command Ctrl+Enter. You cannot edit the components of the matrix.

## To select multiple cells

To select multiple cells in different areas of a sheet, hold down Command Ctrl and drag in the different areas.

## To select multiple sheets

To select multiple sheets in a spreadsheet, hold down Command Ctrl, and then click the name tabs at the lower edge of the workspace. To select only one sheet in a selection, hold down Shift, and then click the name tab of the sheet.

## To insert a manual break

To insert a manual line break in a cell, click in the cell, and then press Command Ctrl+Enter.

## To delete contents

To delete the contents of selected cells, press Backspace. This opens the Delete Contents dialog, where you choose which contents of the cell you want to delete. To delete the contents of selected cells without a dialog, press the Delete key.

## To cut contents without removing the source cells format

To cut contents without removing the source cells format, press Command Ctrl + Shift + X.

## Moving Cursor

Effect | Shortcut Keys
--- | ---
将光标移到工作表的第一个单元格 (A1)。 | Cmd Ctrl+Home 组合键
将光标移到工作表中最后一个含有数据的单元格。 | Cmd Ctrl+End 组合键
将光标移到当前行的第一个单元格。 | (Home)
Moves the cursor to the last column that contains data in any row. | (End)
Moves the cursor leftward to the start and end of cell blocks with data. If the cell to the left of the cursor is empty or the cell with the cursor is empty, the cursor moves leftward in the current row until it reaches the next cell with contents. If all cells in the same row to the left of the cursor are empty, the cursor moves to the first cell in the row. | Cmd Ctrl+向左方向键
Moves the cursor rightward to the start and end of cell blocks with data. If the cell to the right of the cursor is empty or the cell with the cursor is empty, the cursor moves rightward in the current row until it reaches the next cell with contents. If all cells in the same row to the right of the cursor are empty, the cursor moves to the last cell in the row. | Cmd Ctrl+向右方向键
Moves the cursor upward to the start and end of cell blocks with data. If the cell above the cursor is empty or the cell with the cursor is empty, the cursor moves upward in the current column until it reaches the next cell with contents. If all cells in the same column above the cursor are empty, the cursor moves to the first cell in the column. | Cmd Ctrl+向上方向键
Moves the cursor downward to the start and end of cell blocks with data. If the cell below the cursor is empty or the cell with the cursor is empty, the cursor moves downward in the current column until it reaches the next cell with contents. If all cells in the same column below the cursor are empty, the cursor moves to the last cell in the column. | Cmd Ctrl+向下方向键
向左移动工作表。 在打印预览中: 移到上一个打印页面。 | Cmd Ctrl+Page Up 组合键
向右移到下一个工作表。 在打印预览中: 移到下一个打印页面。 | Cmd Ctrl+Page Down 组合键
向左滚动一个屏幕页面。 | (选项 Alt)+(向上翻页)
向右滚动一个屏幕页面。 | (选项 Alt)+(向下翻页)
将光标移到「输入行」，为当前单元格输入公式。 | Shift+Cmd Ctrl+F2 组合键
Moves the cursor from the Input line to the Name Box. You can also use Shift+Command Ctrl+T. | Shift+Cmd Ctrl+F5 组合键

## Selection

Effect | Shortcut Keys
--- | ---
从当前单元格开始选择到当前行的第一个单元格。 | (Shift)+(Home)
Selects all cells from the current cell to the last column that contains data in any row. | (Shift)+(End)
从当前单元格开始选择到当前列的上一页，或将当前选区向上扩展一整页。 | (Shift)+(向上翻页)
从当前单元格开始选择到当前列的下一页，或将当前选区向下扩展一整页。 | (Shift)+(向下翻页)
选择当前行，或将现有选区扩展到所有相对应的行。 | Shift+空格
选择当前列，或将现有选区扩展到所有相对应的列。 | Cmd Ctrl+空格
选择工作表中的所有单元格。 | Cmd Ctrl+Shift+空格
Selects all cells of the range created by the cursor movements using the Command Ctrl+Arrows key combinations. If used to select rows and columns together, a rectangular cell range is selected. If the cursor is in an empty cell, the selection will stretch from the current cell up to the first cell with value in the direction of the arrow pressed. | Cmd Ctrl+Shift+方向键
Selects the data block that contains the cursor. A block is a contiguous cell range that contains data and is bounded by empty row and columns. Where (*) is the multiplication sign on the numeric key pad | Cmd Ctrl+ * Command Ctrl+ A
选择光标所在的矩阵公式区域。 Where (/) is the division sign on the numeric key pad | Cmd Ctrl+ /
删除单元格 (例如在菜单中「编辑」-「删除单元格」) | Cmd Ctrl+减号 (-) 键
Moves the cursor down one cell in a selected range. To specify the direction that the cursor moves, choose LibreOffice - Preferences Tools - Options - LibreOffice Calc - General and change the option in Press Enter to move selection. | 输入 (在选中区域内)
If cell contents have just been copied to the clipboard and no additional editing has been done in the current file, then pressing Enter will paste clipboard contents to the current cursor position. | Enter (after copying cell contents)

If the clipboard contains cell contents and no editing has been done in the file, then Shift+Enter has the same behavior as Enter and pastes clipboard contents to the current cursor position.

If no cells are selected, Shift+Enter moves the cursor to the opposite direction defined in the option Press Enter to move selection found in LibreOffice - Preferences Tools - Options - LibreOffice Calc - General.

If a range of cells is selected, Shift+Enter moves the cursor inside the current selection to the opposite direction defined in the option Press Enter to move selection.

Shift+Enter

打开/关闭其他选择模式。在此模式中，可以使用箭头键以及点击另一个单元格来扩展选择范围。 | F8

## Open, display or hide

Effect | Shortcut Keys
--- | ---
显示当前单元格附加的批注 | Cmd Ctrl+F1 组合键
打开「定义名称」对话框。 | Cmd Ctrl+F3 组合键
打开「函数向导」。 | Cmd Ctrl+F2 组合键
显示或隐藏数据库资源管理器。 | Shift+Cmd Ctrl+F4
显示或隐藏「导航」。 | F5
追踪从属单元格。 | Shift+F5
追踪引用单元格。 | Shift+F9
增加当前行的高度 (仅限在 OpenOffice.org 保守兼容模式下)。 | 选项 Alt+向下箭头键
减小当前行的高度 (仅限在 OpenOffice.org 保守兼容模式下)。 | 选项 Alt+向上箭头键
增加当前列的列宽。 | 选项 Alt+向右箭头键
减小当前列的宽度。 | 选项 Alt+向左箭头键
为当前单元格设置最佳列宽或最佳行高。 | Option Alt+Shift+方向键
打开「样式」窗口。该窗口可为单元格内容和当前工作表应用样式。 | 命令+T F11 键
显示或隐藏公式而不是全部单元格内的值。 | Cmd Ctrl+ ` (参见本表格下方的注释)

The ` key is located next to the "1" key on most English keyboards. If your keyboard does not show this key, you can assign another key: Choose Tools - Customize, click the Keyboard tab. Select the "View" category and the "Show Formulas" function.

## Addition and Insertion

Effect | Shortcut Keys
--- | ---
将上一个工作表添加到当前选择的工作表。如果选择了电子表格中的所有工作表，此组合快捷键只会选择上一个工作表。使上一个工作表成为当前工作表。 | Shift+Cmd Ctrl+Page Up 组合键
将下一个工作表添加到当前选择的工作表。如果选择了电子表格中的所有工作表，此组合快捷键只会选择下一个工作表。使下一个工作表成为当前工作表。 | Shift+Cmd Ctrl+Page Down 组合键
插入单元格 (例如在菜单中「插入」-「单元格」) | Cmd Ctrl+加号 (+) 键

## Copying and Renaming Sheets

The sheet tabs used to navigate between sheets can be clicked in combination with keyboard keys to perform the following operations:

Effect | Shortcut Keys
--- | ---
Creates a copy of the sheet whose tab was clicked. The copied sheet is placed at the position where the mouse button was released. | Command Ctrl + Drag sheet tab
Makes the sheet name editable. Edit the sheet name and press Enter when finished. | Option Alt + Click sheet tab

## Other Keys Used in Spreadsheets

Effect | Shortcut Keys
--- | ---

With a cell selected, press F2 to open cell contents for editing. If the cell contains a formula, use arrow keys to navigate the sheet to easily enter range addresses into the formula.

Press F2 again to enable the use of arrow keys to move the cursor in the formula text.

Each additional use of the F2 shortcut switches between the two states previously described.

Some dialog boxes have input fields with a Shrink button. Pressing F2 with the cursor inside such field causes the Shrink command to be executed.

F2

在输入字段中，重新排列相对或绝对引用 (例如 A1, $A$1, $A1, A$1)。 | F4
对当前工作表进行拼写检查。 | F7
如果当前单元格含有文字，打开同义词词典。 | Cmd Ctrl+F7 组合键
高亮显示含有数值的单元格。 | Cmd Ctrl+F8 组合键
在当前工作表中重新计算已更改的公式。 | F9
在所有工作表中重新计算全部公式。 | Cmd Ctrl+Shift+F9 组合键
更新选中的图表。 | Cmd Ctrl+F9 组合键
创建文档模板。 | (Shift) (F11)
更新模板。 | Shift+Command+Ctrl+F11 组合键
组合选中数据区域。 | F12
取消选中数据区域的组合。 | Cmd Ctrl+F12 组合键

## Number Formatting Using Shortcut Keys

以下单元格格式可以直接用键盘进行设置:

Effect | Shortcut Keys (not on the number pad)
--- | ---
打开「单元格格式」对话框 | Command Ctrl+1
两个小数位数, 千位分隔符 | Command Ctrl+Shift+1
标准指数格式 | Command Ctrl+Shift+2
标准日期格式 | Command Ctrl+Shift+3
标准货币格式 | Command Ctrl+Shift+4
标准百分比格式 (保留小数点后两位) | Command Ctrl+Shift+5
标准格式 | Command Ctrl+Shift+6

## 使用透视表

The shortcut keys below are for the Pivot Table Layout dialog.

Effect | Shortcut Keys
--- | ---
在对话框中的区域和按钮之间正向切换焦点。 | Tab
在对话框中的区域和按钮之间反向切换焦点。 | Shift+Tab
将焦点在当前对话框区域中上移一项。 | Up Arrow
将焦点在当前对话框区域中下移一项。 | Down Arrow
将焦点在当前对话框区域中左移一项。 | Left Arrow
将焦点在当前对话框区域中右移一项。 | Right Arrow
选择当前对话框区域中的第一项。 | Home
选择当前对话框区域中的最后一项。 | End
Copies or moves the current field into the "Row Fields" area. | Option Alt and the underlined character in the label "Row Fields"
Copies or moves the current field into the "Column Fields" area. | Option Alt and the underlined character in the label "Column Fields"
Copies or moves the current field into the "Data Fields" area. | Option Alt and the underlined character in the label "Data Fields"
Copies or moves the current field into the "Filters" area. | Option Alt and the underlined character in the label "Filters"
将当前字段上移一个位置。 | Command Ctrl+Up Arrow
将当前字段下移一个位置。 | Command Ctrl+Down Arrow
将当前字段左移一个位置。 | Command Ctrl+Left Arrow
将当前字段右移一个位置。 | Command Ctrl+Right Arrow
将当前字段移到第一个位置。 | Command Ctrl+Home
将当前字段移到最后一个位置。 | Command Ctrl+End
删除区域中的当前字段。 | Delete

相关主题

LibreOffice 中的常规快捷键

快捷键 (LibreOffice Calc 辅助功能)

快捷键 (LibreOffice 辅助功能)

请支持我们!