Question: why dotted line in excel?
Answer: When you have a spreadsheet formatted to print, page breaks are represented horizontally by lines. In the current version of Excel for Office 365, a manually added page break shows as a solid horizontal line, while automatically generated page breaks show as dotted lines. ... Click on Breaks and select Remove Page Break.