> ## 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内容

## 指令说明

**描述：** 复制Excel工作表中指定区域的单元格内容。

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/PoBbJh6tQuwbCrmc/helpcenter/commands/excel/images/copyexcelcommand-01.png?fit=max&auto=format&n=PoBbJh6tQuwbCrmc&q=85&s=ecfd252f6028522392b121b1e05efd66" alt="复制Excel内容指令参数面板" width="660" height="494" data-path="helpcenter/commands/excel/images/copyexcelcommand-01.png" />

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

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

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/PoBbJh6tQuwbCrmc/helpcenter/commands/excel/images/copyexcelcommand-02.png?fit=max&auto=format&n=PoBbJh6tQuwbCrmc&q=85&s=d7c840223c20e611947ab8b19ba93b36" alt="复制Excel内容使用示例 - 流程搭建" width="852" height="249" data-path="helpcenter/commands/excel/images/copyexcelcommand-02.png" />

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

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

使用【复制Excel内容】指令复制指定单元格区域

使用【粘贴Excel内容】指令将复制的内容粘贴到目标位置

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/PoBbJh6tQuwbCrmc/helpcenter/commands/excel/images/copyexcelcommand-03.png?fit=max&auto=format&n=PoBbJh6tQuwbCrmc&q=85&s=31359f6b9fe0514553cdf74bdae1cc3b" alt="复制Excel内容使用示例 - 效果展示" width="817" height="251" data-path="helpcenter/commands/excel/images/copyexcelcommand-03.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/PoBbJh6tQuwbCrmc/helpcenter/commands/excel/images/copyexcelcommand-04.png?fit=max&auto=format&n=PoBbJh6tQuwbCrmc&q=85&s=5bef212ac7b884a6a7358206a6ae03ef" alt="复制Excel内容使用示例 - 效果展示 2" width="475" height="150" data-path="helpcenter/commands/excel/images/copyexcelcommand-04.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/PoBbJh6tQuwbCrmc/helpcenter/commands/excel/images/copyexcelcommand-05.png?fit=max&auto=format&n=PoBbJh6tQuwbCrmc&q=85&s=d67a7a6b3ecc3c213e5037e9387695cb" alt="复制Excel内容使用示例 - 效果展示 3" width="470" height="129" data-path="helpcenter/commands/excel/images/copyexcelcommand-05.png" />

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