MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
Sub decrementrows() Application.DisplayAlerts = False lastrow = Range("A" & Rows.Count).End(xlUp).Row For I = lastrow To lastrow - 158 Step -1 Cells(I, 1).EntireRow.Delete fname = "C:\Users\Bill\Desktop\Sony Analysis\n-1AttrSelOneR\StartingFile -" & lastrow - I + 1 & ".csv" ActiveWorkbook.SaveAs Filename:=fname, FileFormat:=xlCSV Next I Application.DisplayAlerts = True End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.