the code below is designed to perform two tasks on the attached worksheet. This worksheet is acturally created by another macro so I needed to create a new named range evertime you try and print it.
Tasks:
Establish a named range as: "MARKED_UP_BUDGET"
Establish the rows to repeat at the top $1:$9
Establish print area as "MARKED_UP_BUDGET"
Print a PDF
You will see however that the third step is not dynamic, you cannot set:
so instead I have:Please Login or Register to view this content.
ActiveSheet.PageSetup.PrintArea = "B1:L1000" which is not ideal. is there a way to insure that the print area is always set dynamically?
Please Login or Register to view this content.
Bookmarks