{"id":4979,"date":"2020-01-27T14:40:08","date_gmt":"2020-01-27T14:40:08","guid":{"rendered":"http:\/\/officetuts.net\/excel\/?p=4979"},"modified":"2024-03-28T13:33:05","modified_gmt":"2024-03-28T13:33:05","slug":"remove-page-breaks-in-excel","status":"publish","type":"post","link":"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/","title":{"rendered":"Remove Page Breaks in Excel"},"content":{"rendered":"\n

When your spreadsheet is formatted to print the automatic\npage break lines are created. They are represented by dotted horizontal and\nvertical lines.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

You can also have manual page breaks<\/a> represented by solid horizontal and vertical lines.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

You have them, but you want to get rid of them. In this\nlesson, I’ll show you what you can do.<\/p>\n\n\n\n

Remove manual page breaks<\/h2>\n\n\n\n

If you want to remove page breaks that were inserted\nmanually, click a cell next to the horizontal or vertical break and navigate to\nPage Layout >> Page Setup >>\nBreaks >> Remove Page Break<\/strong>.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

The manual lines next to the active cell were removed.<\/p>\n\n\n\n

If you want to get rid of all manual page breaks, click Reset All Page Breaks<\/strong>.<\/p>\n\n\n\n

Remove automatic page breaks<\/h2>\n\n\n\n

After removing manual page breaks, you still have the dotted\nlines automatically created by Excel. <\/p>\n\n\n\n

To remove them, navigate to File >> Options >> Advanced<\/strong>.<\/p>\n\n\n\n

On the right side of the window, search for the Display option for this worksheet<\/strong>.\nThere is a checkbox called Show page\nbreaks<\/strong>. Uncheck it.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

After you click OK<\/strong>,\nthe break lines are gone.<\/p>\n\n\n\n

Remove automatic and manual page breaks<\/h2>\n\n\n\n

You can remove both manual and automatic page breaks very\nquickly using the Immediate Window<\/strong>.<\/p>\n\n\n\n

To open it, first, you need to open VBA (Left Alt + F11<\/strong>). Now, use Ctrl + B<\/strong> to open the immediate window.<\/p>\n\n\n\n

After you do it, enter this code.<\/p>\n\n\n\n

ActiveSheet.DisplayPageBreaks = False<\/code><\/pre>\n\n\n\n

This is what it looks like inside the window.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Press Enter<\/strong> to\nexecute it. This will remove all types of break lines<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"

When your spreadsheet is formatted to print the automatic page break lines are created. They are represented by dotted horizontal and vertical lines….<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[190],"yoast_head":"\nRemove Page Breaks in Excel<\/title>\n<meta name=\"description\" content=\"Learn how to remove both automatic and manual page breaks in Excel. Follow these simple steps to get rid of the dotted and solid lines.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Remove Page Breaks in Excel\" \/>\n<meta property=\"og:description\" content=\"Learn how to remove both automatic and manual page breaks in Excel. Follow these simple steps to get rid of the dotted and solid lines.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-27T14:40:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-28T13:33:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/automatic-dotted-lines.png\" \/>\n<meta name=\"author\" content=\"Tomasz Decker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tomasz Decker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/\"},\"author\":{\"name\":\"Tomasz Decker\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"headline\":\"Remove Page Breaks in Excel\",\"datePublished\":\"2020-01-27T14:40:08+00:00\",\"dateModified\":\"2024-03-28T13:33:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/\"},\"wordCount\":268,\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/automatic-dotted-lines.png\",\"keywords\":[\"pinterest\"],\"articleSection\":[\"examples\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/\",\"url\":\"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/\",\"name\":\"Remove Page Breaks in Excel\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/automatic-dotted-lines.png\",\"datePublished\":\"2020-01-27T14:40:08+00:00\",\"dateModified\":\"2024-03-28T13:33:05+00:00\",\"description\":\"Learn how to remove both automatic and manual page breaks in Excel. Follow these simple steps to get rid of the dotted and solid lines.\",\"breadcrumb\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/#primaryimage\",\"url\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/automatic-dotted-lines.png\",\"contentUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/automatic-dotted-lines.png\",\"width\":385,\"height\":201},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/officetuts.net\/excel\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Remove Page Breaks in Excel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/officetuts.net\/excel\/#website\",\"url\":\"https:\/\/officetuts.net\/excel\/\",\"name\":\"\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/officetuts.net\/excel\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\",\"name\":\"Tomasz Decker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"caption\":\"Tomasz Decker\"},\"logo\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\"},\"description\":\"Spreadsheet and Python enthusiast.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Remove Page Breaks in Excel","description":"Learn how to remove both automatic and manual page breaks in Excel. Follow these simple steps to get rid of the dotted and solid lines.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/","og_locale":"en_US","og_type":"article","og_title":"Remove Page Breaks in Excel","og_description":"Learn how to remove both automatic and manual page breaks in Excel. Follow these simple steps to get rid of the dotted and solid lines.","og_url":"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/","article_published_time":"2020-01-27T14:40:08+00:00","article_modified_time":"2024-03-28T13:33:05+00:00","og_image":[{"url":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/automatic-dotted-lines.png"}],"author":"Tomasz Decker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tomasz Decker","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/#article","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/"},"author":{"name":"Tomasz Decker","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"headline":"Remove Page Breaks in Excel","datePublished":"2020-01-27T14:40:08+00:00","dateModified":"2024-03-28T13:33:05+00:00","mainEntityOfPage":{"@id":"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/"},"wordCount":268,"publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"image":{"@id":"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/#primaryimage"},"thumbnailUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/automatic-dotted-lines.png","keywords":["pinterest"],"articleSection":["examples"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/","url":"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/","name":"Remove Page Breaks in Excel","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/#website"},"primaryImageOfPage":{"@id":"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/#primaryimage"},"image":{"@id":"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/#primaryimage"},"thumbnailUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/automatic-dotted-lines.png","datePublished":"2020-01-27T14:40:08+00:00","dateModified":"2024-03-28T13:33:05+00:00","description":"Learn how to remove both automatic and manual page breaks in Excel. Follow these simple steps to get rid of the dotted and solid lines.","breadcrumb":{"@id":"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/#primaryimage","url":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/automatic-dotted-lines.png","contentUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/automatic-dotted-lines.png","width":385,"height":201},{"@type":"BreadcrumbList","@id":"https:\/\/officetuts.net\/excel\/examples\/remove-page-breaks-in-excel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/officetuts.net\/excel\/"},{"@type":"ListItem","position":2,"name":"Remove Page Breaks in Excel"}]},{"@type":"WebSite","@id":"https:\/\/officetuts.net\/excel\/#website","url":"https:\/\/officetuts.net\/excel\/","name":"","description":"","publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/officetuts.net\/excel\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42","name":"Tomasz Decker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","caption":"Tomasz Decker"},"logo":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/"},"description":"Spreadsheet and Python enthusiast."}]}},"_links":{"self":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/4979"}],"collection":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/comments?post=4979"}],"version-history":[{"count":4,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/4979\/revisions"}],"predecessor-version":[{"id":14282,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/4979\/revisions\/14282"}],"wp:attachment":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/media?parent=4979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/categories?post=4979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/tags?post=4979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}