First find out where Excel thinks the last currently-used cell is. To do this :-Press function key F5 - a "Go To" panel will be displayed.
Select "Special...", then "Last cell", then "OK" - the "Go To" panel will disappear, and the "last used cell" will become highlighted.
Highlight all the empty rows (don't forget to include the row number "cells") below your useful data up to and including the row containing the "last used cell" and delete them.
IT IS IMPORTANT TO PERFORM THE NEXT STEP IMMEDIATELY BEFORE DOING ANYTHING ELSE!!
Left-click anywhere in the useful data, then Save the spreadsheet, Close it, and Open it again.
Repeat the first paragraph and you should see that Excel now thinks that the "last used cell" is the rightmost cell of the last useful row.
You can delete unused columns to the right of useful data in a similar way.
Bookmarks