A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
You want to code sometimes like this:
Sub Fails()
Columns("B,D,F:G,I:XFD").Delete
End Sub
But unfortunately this syntax did not work. But this one does:
Sub Works()
Range("B1,D1,F1:G1,I1:XFD1").EntireColumn.Delete
End Sub
Any further questions?
Andreas.