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

Insert Columns Workbook (preview)

Insert Columns Workbook activity that inserts one or more columns into a sheet, before or after a reference column.

UiPath.Excel.Activities.InsertColumns

描述​

Inserts one or more columns into a sheet, before or after a reference column. This is the cross-platform equivalent of the Insert Column Windows activity.

备注:

This activity does not support .xls files.

项目兼容性​

Windows | 跨平台

属性​

常见​

  • DisplayName - The name displayed for the activity in the Designer panel.

输入​

  • 文件- 资源工作簿的完整路径。要切换到本地路径,请选择加号图标,然后选择使用本地文件。当前字段更改为文件(本地路径) ,您可以在其中提供 workbook 的完整路径。
  • “工作表名称” - workbook 中工作表的名称。
  • Range - The range that contains the reference column. When Has headers is selected, the first row of the range is the header row. If you use a column letter, it must be inside this range. If you don't specify a range, the used range of the sheet is used.
  • Reference Column - The column relative to which the new columns are inserted. Enter its header name when Has headers is selected, or its letter otherwise, for example, "B". This field is required.
  • Position - Select whether to insert the new columns Before or After the reference column. The default value is Before.
  • Number Of Columns - The number of columns to insert. The value must be greater than zero. The default value is 1.
  • New Column Name - The header of the new column. It is written in the first row of the range, or of the used range if you don't specify a range. When you insert several columns, the name is written in the first of them.

选项​

  • Has headers - Select this option if the first row of the range is a header row. Reference Column is then a header name. By default, this option is not selected.

    备注:

    Unlike in the Windows Insert Column activity, Has headers is not selected by default.

  • 密码- workbook 的密码(如有必要)。

使用 workbook​

  • Workbook - The existing workbook to use instead of a file path.

注意​

  • The activity inserts entire sheet columns, not only the cells of the range. The range only shows where the headers are, or which column letters are valid.
  • The existing columns at and after the insertion point shift right.
  • A header name that is not in the first row of the range, or a column letter outside the range, causes an error and nothing is inserted.

已知限制​

Inserting columns into a table is not supported yet.

  • 描述​
  • 项目兼容性​
  • 属性​
  • 常见​
  • 输入​
  • 选项​
  • 使用 workbook​
  • 注意​
  • 已知限制​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新