Eliminating blank pages in Excel

Hello experts,

I have an Excel sheet with 30 rows over 2 pages. This sheet was formerly having about 200 rows but I have deleted most of them.

Now the problem is, in the sheet footer, where I display the total number of pages, it's showing 18 pages instead of 2.

How to delete those blank pages completely?
Who is Participating?
AnuroopsunddConnect With a Mentor Commented:
You have blank spaces in ur excel after removing your previous data. that why it is showing.....select the rows after your data and select delete rows.
Highlight the desired print area, then
File-Print area-Set print area
MuhajreenAuthor Commented:
I have tried that. It sets print area, but never corrects the total number of pages.
theras2000Connect With a Mentor Commented:
I think you probably have some little extra unseen things in some of those cells further down the page.  Do this...
Highlight all rows from 31 down to about 300 - that's highlighting by clicking on the grey row labels down the left side.  You'll be clicking and dragging from the grey number 31 downwards, and as you do you'll see the cells to the right being highlighted along with the grey numbers.  Now right-click one of those highlighted grey numbers and delete.
Then do the same to all the columns to the right of your used space.
All Courses

From novice to tech pro — start learning today.