> ## 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/clearexcelcellformatcommand-01.png?fit=max&auto=format&n=D5GDQBvL8QxS-YtY&q=85&s=071f389b83ccdaa89303946f88574241" alt="清除单元格格式指令参数面板" width="651" height="487" data-path="helpcenter/commands/excel/images/clearexcelcellformatcommand-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/clearexcelcellformatcommand-03.png?fit=max&auto=format&n=D5GDQBvL8QxS-YtY&q=85&s=62279dd1d48d5dcb9eb931b4cf701038" alt="清除单元格格式使用示例" width="649" height="594" data-path="helpcenter/commands/excel/images/clearexcelcellformatcommand-03.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/D5GDQBvL8QxS-YtY/helpcenter/commands/excel/images/clearexcelcellformatcommand-02.png?fit=max&auto=format&n=D5GDQBvL8QxS-YtY&q=85&s=fe18712ead8b864bf5bf403a7deb4749" alt="清除单元格格式使用示例 - 流程搭建" width="1362" height="145" data-path="helpcenter/commands/excel/images/clearexcelcellformatcommand-02.png" />

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

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

使用【清除单元格格式】指令清除指定区域单元格的格式设置

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/D5GDQBvL8QxS-YtY/helpcenter/commands/excel/images/clearexcelcellformatcommand-04.png?fit=max&auto=format&n=D5GDQBvL8QxS-YtY&q=85&s=7e146633f083e476b4214161f8e20271" alt="清除单元格格式使用示例 - 效果展示 2" width="466" height="206" data-path="helpcenter/commands/excel/images/clearexcelcellformatcommand-04.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/D5GDQBvL8QxS-YtY/helpcenter/commands/excel/images/clearexcelcellformatcommand-05.png?fit=max&auto=format&n=D5GDQBvL8QxS-YtY&q=85&s=ed1fa285b93d096ace09473a24c0e64a" alt="清除单元格格式使用示例 - 效果展示 3" width="462" height="203" data-path="helpcenter/commands/excel/images/clearexcelcellformatcommand-05.png" />

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