joe miller
New Member
- Joined
- May 20, 2018
- Messages
- 6
[h=2]my spreadsheet has more than a million blank rows after the last non-blank row.
how can i eliminate those blank rows?[/h]
how can i eliminate those blank rows?[/h]
You cannot "eliminate" them, but you can hide them from view using a macro...[h=2]my spreadsheet has more than a million blank rows after the last non-blank row.
how can i eliminate those blank rows?[/h]
[table="width: 500"]
[tr]
[td]Sub HideRowsBelowLastVisibleData()
Range(Rows(Cells.Find("*", , xlValues, , xlRows, xlPrevious, , , False).Row + 1), Rows(Rows.Count)).Hidden = True
End Sub[/td]
[/tr]
[/table]
Any answer provided is based on this(these) condition(s). <------ ''i don't know what the red reply means??????