I am using code to apply basic borders around all used cells in a worksheet. Perfectly, this applies borders to the anticipated range. I use the same range to set the print area. I'd like to modify the macro to modify this range so as to set the print area AND apply borders to all cells required to fill the page. In other words, if there are 15 rows, but a page could be 40, I want the print area set to row 40, and borders applied to the same range, so that when printed, it appears as a full page (with 25 blank rows of just borders). Then, if there are 50 rows, the macro should set the print area and borders to 80 rows, to completely fill 2 pages (with 30 blank rows of just borders).
ws.range("A1:E" & wsLr).borderaround