View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
littleme littleme is offline
external usenet poster
 
Posts: 8
Default 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...