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

# 读取飞书表格内容

## 指令说明

**描述：** 读取飞书电子表格里内容，支持多种方式读取

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/oMGzRtmKPLqq2VoW/helpcenter/commands/feishu/images/readlarkspreadsheetcommand-01.png?fit=max&auto=format&n=oMGzRtmKPLqq2VoW&q=85&s=8d73ee3d511824b4ff8d86b60d36cdd9" alt="读取飞书表格内容指令参数面板" width="647" height="525" data-path="helpcenter/commands/feishu/images/readlarkspreadsheetcommand-01.png" />

    | 参数         | 说明                                                     |
    | ---------- | ------------------------------------------------------ |
    | **飞书电子表格** | 选择需要读取的飞书电子表格                                          |
    | **读取方式**   | 读取单元格：返回文本值、 读取一行：返回列表值、 读取一列：返回列表值、 读取区域：返回表格值，数据表格类型 |
    | **行号**     | 输入行号，行号从1开始                                            |
    | **列号**     | 输入列号，列号从1开始                                            |
    | **开始行**    | 输入行号，行号从1开始                                            |
    | **结束行**    | 输入行号，行号从1开始                                            |
    | **开始列**    | 输入列号，列号从1开始                                            |
    | **结束列**    | 输入列号，列号从1开始                                            |
  </Tab>

  <Tab title="高级">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/oMGzRtmKPLqq2VoW/helpcenter/commands/feishu/images/readlarkspreadsheetcommand-02.png?fit=max&auto=format&n=oMGzRtmKPLqq2VoW&q=85&s=df169a23cd3a23eb908320f6fd82e605" alt="读取飞书表格内容指令高级参数面板" width="646" height="341" data-path="helpcenter/commands/feishu/images/readlarkspreadsheetcommand-02.png" />

    | 参数          | 说明                                                                                                         |
    | ----------- | ---------------------------------------------------------------------------------------------------------- |
    | **读取格式**    | 返回纯文本的值（数值类型除外） 、 单元格中含有公式时，返回公式本身 、 返回计算结果（保留单元格格式）：返回带格式的计算结果，如货币格式、保留位数等 、 返回计算结果（不保留单元格格式）：返回不带格式的计算结果 |
    | **保存表格数据至** | 设置输出变量名称，保存读取到的表格内容。输出变量类型分别是: 文本值(读取单元格)、 文本列表(读取一行/读取一列)、 数据表格(读取区域)                                     |
  </Tab>
</Tabs>

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/oMGzRtmKPLqq2VoW/helpcenter/commands/feishu/images/readlarkspreadsheetcommand-03.png?fit=max&auto=format&n=oMGzRtmKPLqq2VoW&q=85&s=b49e8ba447f6568a7a4baceaafb0ab9a" alt="读取飞书表格内容使用示例 - 流程搭建" width="1144" height="717" data-path="helpcenter/commands/feishu/images/readlarkspreadsheetcommand-03.png" />

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

本例演示【读取飞书表格内容】指令的配置与执行：

1. 选择飞书电子表格，并设置读取方式及行列范围。
2. 按选择的读取格式读取表格内容，并将数据保存到指定变量。

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/oMGzRtmKPLqq2VoW/helpcenter/commands/feishu/images/readlarkspreadsheetcommand-04.png?fit=max&auto=format&n=oMGzRtmKPLqq2VoW&q=85&s=592d7f60af5a483cbbb3274f15dbb055" alt="读取飞书表格内容使用示例 - 效果展示" width="518" height="190" data-path="helpcenter/commands/feishu/images/readlarkspreadsheetcommand-04.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/oMGzRtmKPLqq2VoW/helpcenter/commands/feishu/images/readlarkspreadsheetcommand-05.png?fit=max&auto=format&n=oMGzRtmKPLqq2VoW&q=85&s=920dfd6a20eeb6b2516148c4fc1af648" alt="读取飞书表格内容使用示例 - 效果展示" width="1361" height="259" data-path="helpcenter/commands/feishu/images/readlarkspreadsheetcommand-05.png" />

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