ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to removed the Dased Line using VBA (https://www.excelbanter.com/excel-programming/411732-how-removed-dased-line-using-vba.html)

bj

How to removed the Dased Line using VBA
 
Currently, I am working on an Excel template. there is a button created for
user to print the template out.

the problem is after user printed the template, there is a dased line
showing in the spreadsheet. is that possible that the dashed line can be
removed using VBA code? or are there any optios out there that can be
checked/unchecked to pretend showing this dashed line?

thank you for any tips.

JLGWhiz

How to removed the Dased Line using VBA
 
The dashed line that you see after printing is the automatic page breaks that
Excel sets. To remove them, click ToolsOptionsView and uncheck the
PageBreaks box.

"BJ" wrote:

Currently, I am working on an Excel template. there is a button created for
user to print the template out.

the problem is after user printed the template, there is a dased line
showing in the spreadsheet. is that possible that the dashed line can be
removed using VBA code? or are there any optios out there that can be
checked/unchecked to pretend showing this dashed line?

thank you for any tips.



All times are GMT +1. The time now is 02:33 AM.

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