> ## 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/Fj4gd-n2oOvAPIhl/helpcenter/commands/google/images/getgooglespreadsheetcommand-03.png?fit=max&auto=format&n=Fj4gd-n2oOvAPIhl&q=85&s=55e64ab762c4775c2095b871d4c14f55" alt="获取谷歌表格指令参数面板" width="648" height="458" data-path="helpcenter/commands/google/images/getgooglespreadsheetcommand-03.png" />

    | 参数          | 说明                          |
    | ----------- | --------------------------- |
    | **谷歌访问凭证**  | 选择由【获取谷歌访问凭证】生成的凭证对象。       |
    | **谷歌表格URL** | 填写目标 Google Sheets 表格的网页地址。 |
    | **Sheet名称** | 填写要操作的工作表名称。                |
    | **保存表格对象至** | 设置用于保存谷歌表格对象的变量，供后续读写指令使用。  |
  </Tab>

  <Tab title="高级" />
</Tabs>

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/Fj4gd-n2oOvAPIhl/helpcenter/commands/google/images/getgooglespreadsheetcommand-01.png?fit=max&auto=format&n=Fj4gd-n2oOvAPIhl&q=85&s=29dacb3da4ee91ca791fd913dbf58447" alt="获取谷歌表格使用示例" width="1063" height="187" data-path="helpcenter/commands/google/images/getgooglespreadsheetcommand-01.png" />

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

1. 选择已经获取的谷歌访问凭证，并填写目标表格地址及 Sheet 名称。
2. 执行【获取谷歌表格】，将表格对象保存至指定变量供后续指令使用。

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/Fj4gd-n2oOvAPIhl/helpcenter/commands/google/images/getgooglespreadsheetcommand-02.png?fit=max&auto=format&n=Fj4gd-n2oOvAPIhl&q=85&s=50658bb2aa77574a2901e4d95b59cdfa" alt="获取谷歌表格效果展示" width="1062" height="210" data-path="helpcenter/commands/google/images/getgooglespreadsheetcommand-02.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/Fj4gd-n2oOvAPIhl/helpcenter/commands/google/images/getgooglespreadsheetcommand-04.png?fit=max&auto=format&n=Fj4gd-n2oOvAPIhl&q=85&s=746a24fde1a47123e89e010de0b774a9" alt="获取谷歌表格效果展示" width="1180" height="972" data-path="helpcenter/commands/google/images/getgooglespreadsheetcommand-04.png" />

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