G
Guest
I have a spreadsheet that pulls data from an outside source and performs
certain changes to the data through a macro I run. Once the macro is
finished, there are anywhere from 3,000 to 20,000 rows of data and the rest
of the rows (up to 65,000 plus) are blank. Normally, when you save a
spreadsheet it stops at the last row of data but for some reason (I'm
assuming the functions in my macro are to blame) the spreadsheet is saved
with all 65,000 plus rows.
Question, is there a line of code that I can include in the macro that will
delete all the blank rows at the end of the spreadsheet so that only the
rows with data will remain?
certain changes to the data through a macro I run. Once the macro is
finished, there are anywhere from 3,000 to 20,000 rows of data and the rest
of the rows (up to 65,000 plus) are blank. Normally, when you save a
spreadsheet it stops at the last row of data but for some reason (I'm
assuming the functions in my macro are to blame) the spreadsheet is saved
with all 65,000 plus rows.
Question, is there a line of code that I can include in the macro that will
delete all the blank rows at the end of the spreadsheet so that only the
rows with data will remain?