I wrote a macro to hide an empty rows - and it works ok, but when I want to print sheet with hidden rows, excel show (on printout preview) empty space - so even if I want to print only one row (from 40 I have) I get one row on first page, then empty space and last row (summary) on second page - is there any way to avoid printing hidden rows and how to set it in VBA?