Delete Range (Columns) in Excel file

Hi, i want to delete D:N columns. I use Delete Range Activity, i write “D:N” to Range Property but it doesn’t work. When I write D1:N200 also doesn’t work. Do you have an idea?

Hi,

Use insert/delete column activity to delete the columns directly in excel.

hi @Hulya_Cetinkaya

please use remove data column activity

specific the column name

Thanks,

I have tried Delete Column Activity but same problem, it doesn’t work when i give range “D:N”. No format it accepts.

No you have to provide the number of columns you have to delete and position where you start delete. in our case number of columns should be 11 and position should be 4. you have to keep this activity inside of excel application scope.

Please refer the attached sample work flow. thanks.
ExcelColumn Delete Demo.zip (9.3 KB)

Hi @Hulya_Cetinkaya ,

Can you try this one ?

Regards
Balamurugan.S

I have tried Delete Column Activity but same problem, it doesn’t work when i give range “D:N”. No format it accepts.

The ‘Delete column’ is a different activity. Try “Insert/Delete Columns”, starting on the 4th column, and remove 11 columns. Make sure to change the mode to “Remove”:

@Hulya_Cetinkaya

Also you can try as Filter datatable and you can list the column’s

image

Hope this help you

Thanks