Hi,
How to delete multiple columns in the excel sheet
del.xlsx (9.4 KB)
i want to remove course & fee column from the attached excel sheet .
Please provide me sequence
Hi,
How to delete multiple columns in the excel sheet
del.xlsx (9.4 KB)
i want to remove course & fee column from the attached excel sheet .
Please provide me sequence
hi @vikumars
Based on Macro we can delete multiple columns in the sheet
use the below code
Sub sbVBS_To_Delete_Multiple_Columns ()
Columns(āA:Cā).EntireColumn.Delete
End Sub
Mention the column name and use Excel Application and use execute macro activity and call the function name as sbVBS_To_Delete_Multiple_Columns
Thanks
Ashwin S
Hi @vikumars,
Delete column
Try Send hot key to delete the columns.
Alt+H,D, then C
Else try Macro to delete the columns.
Regards,
Arivu
Do i need delete column activity and then use this send hot key??
There should be a better way to do this.
The Remove Data Column activity should be able to accept a list of ints.
I found a better way to do wath I wanted, maybe this can be the answer to your question.
By using a Filter Data Table and then go to the Output Columns and click Remove and then specify the index of the columns you would like to remove (Name of the column also work).