ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Identifying Page Breaks (https://www.excelbanter.com/excel-programming/274118-identifying-page-breaks.html)

Seth[_3_]

Identifying Page Breaks
 
Is there a way to easily tell if a range (i.e., cell) is
adjacent to a page break?

At every page break, I would like to insert some text but
I don't know how to determine if the range object is
adjacent to a page break (without creating one manually).

Thanks,

Seth



Seth[_3_]

Identifying Page Breaks
 
I can't use footers in this case.

Your solution is exactly what I was looking for! I just
needed to be pointed in the right direction

Thanks!

Seth

-----Original Message-----
Seth,

if
u cant/wont use Footers?
then
have a look at HPageBreaks collection object in VBA

help
endif



keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"Seth" wrote:

Is there a way to easily tell if a range (i.e., cell)

is
adjacent to a page break?

At every page break, I would like to insert some text

but
I don't know how to determine if the range object is
adjacent to a page break (without creating one

manually).

Thanks,

Seth




.



All times are GMT +1. The time now is 11:13 AM.

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