excel vba delete columns in range excel vba delete columns on another sheet

The solution for “excel vba delete columns in range excel vba delete columns on another sheet” can be found here. The following code will assist you in solving the problem.

‘ Deletes 3rd column
ThisWorkbook.Worksheets(1).Columns(3).EntireColumn.Delete

‘ Deletes 3rd column in range
Range(“My_RANGE”).Columns(3).EntireColumn.DeleteSub sbVBS_To_Delete_Specific_Multiple_Columns()
Sheets(“Sheet1”).Range(“A:A,C:C,H:H,K:O,Q:U”).EntireColumn.Delete
End Sub

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts