• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Dynamic PrintRange

Markusdw

New Member
I am trying to create a print range for a worksheet that has rows taken off from the top by a filter and added to the bottom by new entries. I keep having to change the range because I don't want the range so big it won't fit one page. (don't want empty rows printed) There must be some way to make the range dynamic but I cannot figure it out. Any suggestions would be appreciated
 
Mark

Excel uses a defined Named Range "Print_Area" for the area which will be printed

It assigns whatever area you want printed to that Named Range.


You can however assign a formula to it ie:

Print_Area: =OFFSET(Sheet1!$D$5,0,0,COUNTA(Sheet1!$D:$D),COUNTA(Sheet1!$5:$5))


Refer Part 3 at:http://chandoo.org/wp/2009/10/15/dynamic-chart-data-series/
 
Back
Top