ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Border around each printed page (https://www.excelbanter.com/excel-programming/396535-border-around-each-printed-page.html)

littleme

Border around each printed page
 
This problem i driving me crazy!!!

I promised myself not to post something before having done my
homework... Have searched forum after forum, but havent found a
solution that works for me... and not adept enough to be able adapt
code to what I want.

Am using Ron de Bruins code to insert page breaks every 50th line,
taking in consideration the header rows.

http://www.rondebruin.nl/print.htm#Breaks

Upon print preview/ print, would like to find these breaks add border
lines so that each printed page has a frame as well as border between
colums. First cell to be filled in (not including header lines) is
A10.

My problem is that Rons code will not add a break the last entry. (If
last entry is on row51, it will add a break only on row 50.) Havent
found a good code to add the bordes I need, but assume I need that
last page break. Or if someone has a way around it?

Please someone help! Im guessing this really isnt a very difficult
problem but cant figure it out.... All suggestions welcome...



All times are GMT +1. The time now is 03:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com