Not printing hidden cells

S

sarcher

Hi,

I have a spreadsheet in which a macro runs and 'hides' any empty rows.

In the spreadsheet it is likely that first 100 rows wont be hidden, th
nxt 200 will be and the following 10 will be afterthat.

what i have noticed is that when the rows are hidden even though the
dont print they still appear to have been 'used' in the print previe
so if i try and print the document out the first section prints but th
bottom 10 ten lines dont print till page 4 (with blank pages befor
these).

What i want is for the bottom section to be printed straight after th
top visible rows i.e. by totally ignoring the hidden rows.

how can i do this in vba or any other settings
 
D

Dave Peterson

I don't think it's the hidden rows that are causing the trouble. (I've never
seen excel behave that way.)

But if you have page breaks in those hidden rows, the page breaks will still be
processed.

Could that be the problem?

My solution is to either remove the page breaks, or to copy the visible cells to
a new sheet and print from there--or even take a picture of what I want and
print that picture.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top