how to remove columns in excel code example
Example: how to delete a column in ms excel
Select any cell within the column, then go to Home > Insert > Insert Sheet Columns or Delete Sheet Columns.
Alternatively, right-click the top of the column, and then select Insert or Delete.