Variable print area

  • Thread starter Thread starter BOBF
  • Start date Start date
B

BOBF

Can a named print area be DYNAMIC in that it only prints
out the CURRENT number of rows of data? Thanks.
 
I'm new to this but have been trying to solve a similar problem. You can
select the current range region by using ctrl shift and *. So if you move to
a cell in the range you want to print and then use ctrl, shift and * you'll
get a dynamic range for naming or printing.

Hope it helps
 
try something like this
Sub printregion()
x = Cells(Rows.Count, "N").End(xlUp).Row
Range("a1:n" & x).Printout
End Sub
 

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

Back
Top