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?
MuhajreenAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AnuroopsunddCommented:
Highlight the desired print area, then
File-Print area-Set print area
0
MuhajreenAuthor Commented:
I have tried that. It sets print area, but never corrects the total number of pages.
0
theras2000Commented:
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.
0
AnuroopsunddCommented:
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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.