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

# 自动填充

## 指令说明

**描述：** 对Excel表格中指定区域的单元格实现自动填充功能。

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/D5GDQBvL8QxS-YtY/helpcenter/commands/excel/images/autofillexcelcommand-01.png?fit=max&auto=format&n=D5GDQBvL8QxS-YtY&q=85&s=e4c0ca29005352a787d064daf7f80d66" alt="自动填充指令参数面板" width="660" height="662" data-path="helpcenter/commands/excel/images/autofillexcelcommand-01.png" />

    | 参数           | 说明                                                         |
    | ------------ | ---------------------------------------------------------- |
    | **Excel对象**  | 请选择Excel对象（可通过指令【启动Excel】或【获取当前激活的Excel对象】创建），用于确定待操作的工作簿。 |
    | **Sheet页名称** | 操作目标工作表的名称，支持选填，默认为当前Excel激活的Sheet页。                       |
    | **填充区域**     | 选择或填写需要自动填充的单元格区域。                                         |
    | **数据来源**     | 填写自动填充的数据来源（单元格值或公式）。                                      |
  </Tab>

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

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/D5GDQBvL8QxS-YtY/helpcenter/commands/excel/images/autofillexcelcommand-03.png?fit=max&auto=format&n=D5GDQBvL8QxS-YtY&q=85&s=279fbc2890191582dd9364b423c27350" alt="自动填充使用示例" width="655" height="704" data-path="helpcenter/commands/excel/images/autofillexcelcommand-03.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/D5GDQBvL8QxS-YtY/helpcenter/commands/excel/images/autofillexcelcommand-02.png?fit=max&auto=format&n=D5GDQBvL8QxS-YtY&q=85&s=78bfab50f41da74377acc72db0d10e4d" alt="自动填充使用示例 - 流程搭建" width="1255" height="391" data-path="helpcenter/commands/excel/images/autofillexcelcommand-02.png" />

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

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

使用【自动填充】指令填充指定单元格区域

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/D5GDQBvL8QxS-YtY/helpcenter/commands/excel/images/autofillexcelcommand-04.png?fit=max&auto=format&n=D5GDQBvL8QxS-YtY&q=85&s=c6b099c1a64abd45988df6df3c8775a9" alt="自动填充使用示例 - 效果展示 2" width="814" height="324" data-path="helpcenter/commands/excel/images/autofillexcelcommand-04.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/D5GDQBvL8QxS-YtY/helpcenter/commands/excel/images/autofillexcelcommand-05.png?fit=max&auto=format&n=D5GDQBvL8QxS-YtY&q=85&s=7c61a83e73b150c6ad6f3bc743248534" alt="自动填充使用示例 - 效果展示 3" width="894" height="322" data-path="helpcenter/commands/excel/images/autofillexcelcommand-05.png" />

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