Robot Task Activities - Excel Column
The Excel Column activities select, set, insert, delete, copy and merge whole columns on the active worksheet.

All activities in this category must be inside a New Excel or Attach to Excel container activity. See Excel. Variables are resolved in every field.
With DisplayAlerts cleared on the parent container, which is the default, Excel deletes and overwrites without asking. Save the workbook before you change its structure.
Select Column
Selects the column.

- Column: the column or range of columns, for example
BorA:C
Set Column value
Writes a value to every cell of the column.

- Column: the column or range of columns
- Value: the value written to every cell of the column, down to the last row of the worksheet
Clear Column
Clears the column: its values, formulas and formatting. Same field as Select Column.
Delete Column
Deletes the column. Same field as Select Column.
The difference from Clear Column is that Delete Column removes the column and shifts the columns to its right to the left, whereas Clear Column empties the column and leaves the layout unchanged.
Insert Column
Inserts a column at the given column, and shifts the existing columns to the right. Same field as Select Column.
Copy Column
Copies the column to another column.

- Source: the column or range of columns to copy
- Destination: the column or range of columns the source is copied to; what was there is overwritten
Cut Column
Moves the column to another column. Same fields as Copy Column.
Merge Columns
Merges all columns from the Source column to the Destination column. Same fields as Copy Column.
Unmerge Columns
Splits merged cells in the column back into separate cells. Same field as Select Column.
Tips
- Deleting a column shifts every column to its right, so any address hard-coded elsewhere in the Task then points at the wrong data. Prefer Clear Column unless the column really must be removed
- Clear Column removes formatting as well as values
- Use Insert Column to add a status or notes column to a sheet exported from another system, before writing to it in a loop
- Use a range such as
A:Cin Set Column value to apply the same value across several columns in one activity - To add a column to a List Variable rather than to a worksheet, use the Column - Create activity of the List Variable category