Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2007

Tip: Looking for answers? Try searching our database.

Cell border before page break

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pygmalion - 09 Jan 2007 08:52 GMT
Hello experts!

Is it somehow possible to tell Excel to put bottom cell border to the
last cell before each page break?

Thanks for the answer.

Regards.
Don Guillett - 09 Jan 2007 14:19 GMT
try
Sub dopagebrk()
With ActiveSheet
For i = 1 To .HPageBreaks.Count
    .HPageBreaks.Item(i).Location.Borders(xlEdgeBottom).LineStyle =
xlContinuous
Next i
End With
End Sub

Signature

Don Guillett
SalesAid Software
dguillett1@austin.rr.com

> Hello experts!
>
[quoted text clipped - 4 lines]
>
> Regards.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.