We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
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.
Join the community of 500,000 technology professionals and ask your questions.