Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Set print area on variable range
I have a macro that creates a sheet for me based upon information that is
input into another sheet. The number of columns on the sheets is constant A:K, however, the number of rows varies - the max number of rows it can have is 46. I have searched through the posts but have been unable to find code that will work that will: - Scale the page to fit to one page - Set the print area based on the last used row in column K so that A1:K? is the print area As a note: the sheet NAME is generated as part of the macro that creates the sheet - the name is always unique. That part alone discluded a couple of the macros that I found in the archives here. Sorry to post such a seemingly redundant question, but as I said, nothing that I found seems to do the trick for me. Thanks in advance! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Variable print area via a macro | Excel Discussion (Misc queries) | |||
Using named range to extend print area for variable number of columns | Excel Worksheet Functions | |||
variable print area? | Excel Programming | |||
Variable print area | Excel Discussion (Misc queries) | |||
Setting a variable print area | Excel Programming |