ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   don't show the page breaks on the worksheet (https://www.excelbanter.com/excel-discussion-misc-queries/1356-dont-show-page-breaks-worksheet.html)

Classic

don't show the page breaks on the worksheet
 
After you do a print preview of a worksheet the dotted lines will show your
page breaks on the worksheet. Is there any way to NOT see the dotted lines
after doing a print preview?

Peo Sjoblom

You can turn off all page breaks under toolsoptionsview and uncheck page
breaks or use a macro with this line

ActiveSheet.DisplayPageBreaks = False

so you could make 2 macros, one that turns them off and and one that turns
them on. Don't know if it is worth all that work for being a little annoyed

Regards,

Peo Sjoblom

"Classic" wrote:

After you do a print preview of a worksheet the dotted lines will show your
page breaks on the worksheet. Is there any way to NOT see the dotted lines
after doing a print preview?


Dave Peterson

You can turn them on by hitting the print preview button, too.

Peo Sjoblom wrote:

You can turn off all page breaks under toolsoptionsview and uncheck page
breaks or use a macro with this line

ActiveSheet.DisplayPageBreaks = False

so you could make 2 macros, one that turns them off and and one that turns
them on. Don't know if it is worth all that work for being a little annoyed

Regards,

Peo Sjoblom

"Classic" wrote:

After you do a print preview of a worksheet the dotted lines will show your
page breaks on the worksheet. Is there any way to NOT see the dotted lines
after doing a print preview?


--

Dave Peterson


All times are GMT +1. The time now is 11:29 PM.

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