Add columns in Excel

Hello, I have a question - how to add several columns in Excel at one time?
I’im working on StudioX.

In StudioX, you can add multiple columns to an Excel worksheet at once by using the “Add Data Column” activity.

1 Like

Hi,

Unfortunately, there is no activity to add multiple columns to worksheet of excel at once.
Can you try to use InsertColumn activity with loop as the following?

Regards,

1 Like

Hello @sullivanne

Excel Application Scope
Input: WorkbookPath - “YourExcelFile.xlsx”

Add Data Column
Input:
- SheetName - “Sheet1”
- Column Name - “Column1, Column2, Column3”
- Data Type - “String”

Thanks & Cheers!!!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.