UiPath Documentation
activities
latest
false
生产力活动
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

读取列

读取列活动,该活动从起始单元格属性字段指定的单元格开始读取列中的值,并将其存储在 Excel 的 IEnumerable<Object> 变量中。

UiPath.Excel.Activities.ExcelReadColumn

描述​

从“起始单元格”字段指定的单元格开始读取列中的值,并将其存储在枚举值 IEnumerable<Object> 变量中。只能在“ Excel 应用程序作用域”或“使用 Excel 文件”活动中使用。

项目兼容性​

Windows - Legacy | Windows

属性​

常见​

  • “显示名称”- 活动的显示名称。

输入​

  • SheetName - The name of the sheet in which the column that you want to read is. By default, this is filled in with "Sheet1." Only String variables and strings are supported.
  • StartingCell - The cell from which to start extracting the column data. By default, this is filled in with "A1". Only String variables and strings are supported.

其他​

  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。

选项​

  • “保留格式”- 选中该复选框可保留要读取的列的格式。系统会默认清除该复选框。

输出​

  • “结果” - 将指定的电子表格中列的信息存储在IEnumerable<Object>变量中。仅支持IEnumerable<Object>变量。

“读取列”活动用法示例​

为举例说明该活动的具体用法,我们构建了一个自动化项目,用于从 Excel 文件的列中读取信息。您可以从读取 Excel 文件下载示例。

  • 描述​
  • 项目兼容性​
  • 属性​
  • 常见​
  • 输入​
  • 其他​
  • 选项​
  • 输出​
  • “读取列”活动用法示例​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新