I've got a spreadsheet template where I want the user to be able to click on a button and have it delete a series of columns. Something Columns "A", "F:G", "K:M" etc.
I tried the following code which deleted the first series but not the next. Any help would be appreciated.
Sub btnCleanSheet()
cleanit
End Sub
Sub cleanit()
Columns("A").Delete
Columns("F:G").Delete
End Sub
I tried the following code which deleted the first series but not the next. Any help would be appreciated.
Sub btnCleanSheet()
cleanit
End Sub
Sub cleanit()
Columns("A").Delete
Columns("F:G").Delete
End Sub