Thread: dyamic printing
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
NOPIK NOPIK is offline
external usenet poster
 
Posts: 50
Default dyamic printing

On Sep 10, 7:55*pm, hurlbut777
wrote:
I have a spreadsheet with 10,000 rows available for entry. *I would like to
create a print macro that would only print down to the last row that actually
had data instead of printing 1 billion pages of blank rows.

I need to know if this is possible using vba, and if so, what would the code
look like...not looking for alternative solutions.

Thanks,
Jeff


Setup PrintArea as described in following post
ActiveSheet.PageSetup.PrintArea = "1:100"
ActiveSheet.PrintOut