ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   HPageBreak (https://www.excelbanter.com/excel-programming/272499-hpagebreak.html)

billQ

HPageBreak
 
Hello,
I have added several page breaks using the code:
Worksheets.HPageBreaks.Add Befo=cell1
After I do some things I need to remove these same page breaks using code.
I can't seem to find the .Remove function to do the trick.
Any help will be appreciated
thanks
bill q



billQ

HPageBreak
 
I found the solution
thanks
"billQ" wrote in message
...
Hello,
I have added several page breaks using the code:
Worksheets.HPageBreaks.Add Befo=cell1
After I do some things I need to remove these same page breaks using code.
I can't seem to find the .Remove function to do the trick.
Any help will be appreciated
thanks
bill q






All times are GMT +1. The time now is 03:39 PM.

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