PDA

View Full Version : Delete unwanted rows & column



sanjeevi888
09-30-2012, 12:33 AM
hi.. I want excel diet to Row U & column 2000
as soon as posible

Admin
09-30-2012, 08:52 AM
What do you mean by unwanted ?

to delete everything after Column U and Row 2000, try this.


Range(Cells(1, "v"), Cells(1, Columns.Count)).EntireColumn.Delete
Range(Cells(2001, 1), Cells(Rows.Count, 1)).EntireRow.Delete