I have a Macro that deletes a column if the header contains "Group time:"
Sub remove_columns()
For i = ActiveSheet.Columns.Count To 1 Step -1
If InStr(1, Cells(1, i), "Group time:") Then Columns(i).EntireColumn.Delete
Next i
End Sub
I have other columns I need to delete "Total time", "Last page", "Start language" ... about 10 in all.
I could create 10 versions of the above macro but is there a way to have only one macro that has a list of names and deletes those columns
Thanks