> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# 添加Sheet页

## 指令说明

**描述：** 在Excel工作簿中添加新的工作表。

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/D5GDQBvL8QxS-YtY/helpcenter/commands/excel/images/addexcelsheetcommand-01.png?fit=max&auto=format&n=D5GDQBvL8QxS-YtY&q=85&s=28851b73f64a057e708fa739bf7ef964" alt="添加Sheet页指令参数面板" width="648" height="357" data-path="helpcenter/commands/excel/images/addexcelsheetcommand-01.png" />

    | 参数           | 说明                                                         |
    | ------------ | ---------------------------------------------------------- |
    | **Excel对象**  | 请选择Excel对象（可通过指令【启动Excel】或【获取当前激活的Excel对象】创建），用于确定待操作的工作簿。 |
    | **Sheet页名称** | 输入新工作表的名称。                                                 |
    | **插入位置**     | 选择插入位置：工作簿末尾、当前工作表之前、当前工作表之后。                              |
  </Tab>

  <Tab title="高级">
    本指令暂无高级参数。
  </Tab>
</Tabs>

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/D5GDQBvL8QxS-YtY/helpcenter/commands/excel/images/addexcelsheetcommand-02.png?fit=max&auto=format&n=D5GDQBvL8QxS-YtY&q=85&s=b0a6f449a20924ecf37c4da38da54ee0" alt="添加Sheet页使用示例 - 流程搭建" width="851" height="157" data-path="helpcenter/commands/excel/images/addexcelsheetcommand-02.png" />

**该流程执行逻辑：**

使用【启动Excel】打开已有的Excel，并将Excel对象保存到excel对象

使用【添加Sheet页】指令在工作簿中添加新的工作表

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/D5GDQBvL8QxS-YtY/helpcenter/commands/excel/images/addexcelsheetcommand-03.png?fit=max&auto=format&n=D5GDQBvL8QxS-YtY&q=85&s=1a92e83e762541d7cc3573566dccd04b" alt="添加Sheet页使用示例 - 效果展示" width="835" height="189" data-path="helpcenter/commands/excel/images/addexcelsheetcommand-03.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/D5GDQBvL8QxS-YtY/helpcenter/commands/excel/images/addexcelsheetcommand-04.png?fit=max&auto=format&n=D5GDQBvL8QxS-YtY&q=85&s=767f16de7694dea66140cfece3234be1" alt="添加Sheet页使用示例 - 效果展示 2" width="226" height="57" data-path="helpcenter/commands/excel/images/addexcelsheetcommand-04.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/D5GDQBvL8QxS-YtY/helpcenter/commands/excel/images/addexcelsheetcommand-05.png?fit=max&auto=format&n=D5GDQBvL8QxS-YtY&q=85&s=31d96817660d7fb53250570997073fad" alt="添加Sheet页使用示例 - 效果展示 3" width="288" height="56" data-path="helpcenter/commands/excel/images/addexcelsheetcommand-05.png" />

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
