ExcelBanter

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

MacroMan

Page Breaks
 
I am unsure exactly what you need, but the following will
give you the row location of the first horizontal page
break:

ActiveSheet.HPageBreaks(1).Location.Row - 1

HTH

-----Original Message-----
Hello everyone:

Simple question:
How do I return the location of a page break?
.


andres a.

Page Breaks
 
MacroMan
Thanks, It just what I needed.

Andres
-----Original Message-----
I am unsure exactly what you need, but the following will
give you the row location of the first horizontal page
break:

ActiveSheet.HPageBreaks(1).Location.Row - 1

HTH

-----Original Message-----
Hello everyone:

Simple question:
How do I return the location of a page break?
.

.



All times are GMT +1. The time now is 01:15 PM.

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