How to Print Lines in Excel: Complete Guide to Printing Gridlines, Borders, and Row Separators in 2026
Learn how to print lines in Excel including gridlines, borders, and row separators. Step-by-step printing tutorial with troubleshooting tips.

Learning how to print lines in Excel is one of those skills that seems trivial until you hand a printed spreadsheet to a colleague and watch them squint at a sea of unformatted numbers. By default, Excel displays gridlines on your screen, but those soft gray dividers do not automatically appear on paper. Mastering the print settings ensures that every row, column, and cell boundary translates clearly from monitor to printed page, making your reports legible, professional, and easy to follow during meetings or audits.
Excel offers several distinct methods for adding lines to printed output, and each serves a different purpose. The Page Layout tab contains a checkbox specifically for printing gridlines, which produces light gray lines around every cell in your active print area. Cell borders, applied through the Home tab or Format Cells dialog, give you finer control over which edges appear and how thick they look. Understanding when to use each approach saves time and prevents the frustration of test pages that look nothing like the on-screen design.
This guide walks through every printing scenario you might encounter, from quick one-page reports to multi-page financial statements that need consistent line styling across breaks. We will cover the Page Setup dialog, sheet options, conditional formatting interactions with printed lines, and how to handle merged cells, hidden rows, and frozen panes during printing. If you have ever wrestled with vlookup excel results that printed without proper separators or struggled to format a clean handout, this tutorial will resolve those headaches permanently.
Before diving into the mechanics, it helps to understand the difference between gridlines and borders. Gridlines are a display feature controlled by Excel itself; they cover the entire worksheet uniformly and cannot be customized per cell. Borders are formatting elements you apply manually to specific ranges, with full control over color, weight, and style. Many printing problems stem from confusing these two systems, so we will keep them clearly separated throughout the article and show when each is the right tool for your task.
We will also address common pitfalls, including why your lines might print on the screen preview but vanish on paper, how printer drivers can interfere with line rendering, and what to do when your office printer refuses to honor the gridline checkbox. By the end, you will have a complete toolkit for producing polished, line-perfect printouts every time, whether you are sharing a budget, distributing a class roster, or archiving compliance documentation that auditors will scrutinize line by line.
For users who frequently print large datasets, we will also cover advanced techniques like custom print areas, repeating header rows on every page, and adjusting margins to maximize the visibility of your lines without sacrificing readable font sizes. These small adjustments distinguish amateur printouts from polished, presentation-ready documents that reinforce your credibility with stakeholders, clients, and team members who rely on your data.
Whether you are a beginner who just discovered the Print Preview pane or a seasoned analyst building monthly board packs, this comprehensive walkthrough adapts to your skill level. Take your time experimenting with the settings on a test workbook before applying them to critical files, and remember that Excel always lets you undo changes if a printout does not turn out as planned.
Excel Printing by the Numbers

Step-by-Step: Print Gridlines in Excel
Open Page Layout Tab
Locate Sheet Options Group
Check Print Box Under Gridlines
Preview Before Printing
Send to Printer
Understanding the fundamental difference between gridlines and borders is the first step toward predictable, professional printouts. Gridlines are an Excel display feature that shows faint gray dividers between cells across your entire worksheet. They exist purely to help you visually navigate the grid while editing, and they are independent of any formatting you apply. You can toggle gridlines on or off for screen display and printing separately, giving you flexibility based on the document's purpose and audience.
Borders, in contrast, are formatting attributes that you assign to specific cells or ranges. Apply them through the Home tab's border dropdown, the Format Cells dialog accessed with Ctrl+1, or keyboard shortcuts. Borders offer extensive customization including line thickness, dash styles, colors, and diagonal options for accountancy-style cells. Once applied, borders behave like any other formatting element and travel with the cell through copying, filtering, and sorting operations. They also print automatically without requiring the Print Gridlines checkbox to be activated.
A common confusion arises when users wonder why their printed sheets have lines in some places but not others. Typically this happens because they applied borders to a header row or data range but left the surrounding cells without any formatting. When gridlines are disabled for printing, only the bordered areas show lines on paper, while the rest of the page appears blank. The solution is either to apply borders consistently across all data areas or to enable the Print Gridlines option for uniform coverage.
For complex spreadsheets that include vlookup excel formulas pulling data from multiple sheets, the printing strategy often blends both approaches. Use borders to emphasize totals, subtotals, and section breaks, then enable gridlines to provide consistent cell separation throughout the rest of the data. This combination produces a clear visual hierarchy that guides the reader's eye to the most important figures while keeping the supporting data legible and well organized on the printed page.
Another important distinction involves color. Printed gridlines always appear in a light gray color that you cannot change, which can make them disappear on certain printers or paper stocks. Borders, however, allow you to choose any color including black, which prints reliably on virtually any device. If you need maximum contrast for accessibility or archival purposes, applying black borders to your data range is the most dependable option, especially for legal documents or compliance reports that may be photocopied.
Excel also distinguishes between borders applied through the ribbon dropdown and those applied through the Format Cells dialog. The dialog offers more options including diagonal lines, custom dash patterns, and the ability to apply different styles to each edge of a cell simultaneously. For most everyday printing, the ribbon dropdown suffices, but power users building polished financial statements often rely on the dialog for its precision and the ability to create signature accountant-style double underlines below grand totals.
Finally, keep in mind that gridlines do not print across cells filled with a background color by default. If you shade certain rows for emphasis, the gridlines disappear inside those shaded ranges. To restore visible separators, you must apply borders manually to the colored cells, since the gridline feature respects fill colors and yields visual priority to the shading you chose for those rows or columns.
Printing Methods Across Excel Versions
Microsoft 365 and Excel 2021 offer the most refined printing experience with cloud-aware previews and real-time updates. To print gridlines, navigate to Page Layout, find Sheet Options, and check the Print box under Gridlines. The modern File menu Print pane provides a live preview that updates as you tweak settings, making it easy to verify your output before sending to the printer or saving as PDF.
These versions also integrate seamlessly with OneDrive and SharePoint, allowing you to print directly from the browser when needed. Even features like how to freeze a row in excel for repeated headers print correctly across all pages when configured through Print Titles. Custom views are preserved across devices, which is helpful for teams sharing the same workbook templates and needing consistent print layouts on every machine.

Gridlines vs Borders: Which Should You Use for Printing?
- +Gridlines provide instant uniform coverage with a single checkbox click
- +No manual formatting required across thousands of cells
- +Light gray color creates subtle visual structure without overwhelming data
- +Easy to toggle on and off for different print purposes
- +Works automatically with new data added to the print area
- +Saves time on large datasets where applying borders cell by cell is impractical
- −Cannot customize gridline color or thickness
- −Gridlines disappear under cells with background fill colors
- −May print too faintly on certain printers or paper stocks
- −Cannot apply gridlines selectively to specific ranges only
- −Borders required for emphasis on totals and section dividers
- −Some older printer drivers ignore the gridline setting entirely
Pre-Print Checklist for Clean Lines in Excel
- ✓Open Page Layout tab and locate the Sheet Options group
- ✓Check the Print box under Gridlines for uniform cell separators
- ✓Set Print Area to include only the data you need on paper
- ✓Apply borders to header rows and totals for visual emphasis
- ✓Adjust margins to ensure no lines are clipped at page edges
- ✓Use Print Titles to repeat header rows on every printed page
- ✓Choose portrait or landscape orientation based on data width
- ✓Set scaling to Fit All Columns on One Page if data is wide
- ✓Preview the document with Ctrl+P before sending to printer
- ✓Verify gridlines appear in the preview pane on every page
Save paper and time with a one-page test print
Before printing a 50-page report, always send a single page test first by setting the Pages field in the Print dialog to just page one. This lets you verify gridline thickness, font size, and margin placement without wasting an entire ream of paper. If anything looks off, adjust and reprint just that one page until the formatting is perfect across the entire document.
When printed lines fail to appear despite enabling the Print Gridlines option, several common culprits are usually to blame. The first is printer driver behavior, particularly with older laser and inkjet models that interpret light gray gridlines as background noise and filter them out for clarity. Check your printer properties dialog for a setting called Print Background Colors and Images or similar, and ensure it is enabled. Updating to the latest driver from the manufacturer's website resolves many of these display inconsistencies automatically.
Another frequent issue involves cells with fill colors interfering with gridline visibility. When you shade rows in alternating colors for readability, those colored backgrounds take visual priority over the gridline rendering layer. To restore visible separators within shaded ranges, manually apply borders to the colored cells using the Home tab border dropdown. Choose a contrasting color like dark gray or black to ensure the borders remain visible against your chosen fill color on the printed page, especially for handouts.
Page breaks can also disrupt line continuity, particularly when a print area extends across multiple pages. Excel sometimes places page breaks in awkward locations that split header rows from their data or cut through merged cells. Use Page Break Preview from the View tab to drag breaks manually to logical positions, and consider enabling Print Titles to repeat your header row at the top of every page so readers never lose track of which column contains which data type across pages.
If you have applied conditional formatting that includes borders, those borders sometimes conflict with the standard Print Gridlines feature, producing doubled lines or unexpected gaps. Review the Manage Rules dialog under Conditional Formatting to see which rules apply borders, and consider whether they are necessary for the printed version. You can create a separate worksheet copy without conditional borders specifically for printing, then keep the formatted version for on-screen analysis and interactive review during meetings.
Hidden rows or columns also affect printing in unexpected ways. By default, hidden ranges do not print, which means gridlines and borders connect across the gap as if the hidden cells did not exist. This usually produces clean output, but occasionally users want hidden cells to remain hidden in editing but visible in print. The solution involves either temporarily unhiding before printing or using grouping instead of hiding, which preserves the spacing relationships in the printed output more predictably than the hide function.
Scaling settings can shrink lines below visible thresholds on the printed page. When you use Fit Sheet on One Page or aggressive percentage reductions, both gridlines and thin borders may become so faint that they essentially disappear. If you need to fit a wide spreadsheet onto one page, increase border thickness in advance by applying medium or thick border styles through the Format Cells dialog. This compensates for the scaling reduction and keeps your divisions visible even at 50 percent or smaller scaling factors.
Finally, monitor color settings versus printer output can mislead you during preparation. A light gray that looks distinct on your screen may print invisibly on certain papers, especially recycled or off-white stocks. Always do a physical test print on the actual paper you plan to use for the final document. This small step prevents the embarrassment of distributing a printed report only to discover that the lines you carefully configured vanished entirely on the printer used for production runs.

If you apply background colors to cells for visual emphasis, the standard gridlines will not print over those filled cells. This is one of the most common reasons users see partial gridlines in their printed output. To maintain visible separators across shaded ranges, manually apply borders to all colored cells before printing your final document.
Beyond basic gridline printing, Excel offers powerful advanced techniques that transform ordinary spreadsheets into polished, professional documents. The Print Area feature, accessed through Page Layout, lets you define exactly which cells should print regardless of how much data extends beyond that range. This is invaluable when you have working columns, calculation helpers, or notes off to the side that should stay private. Set the print area once and Excel remembers it permanently for the workbook, applying it every time you print.
Print Titles is another underutilized feature that dramatically improves multi-page reports. Found in Page Layout under Print Titles, this option lets you designate specific rows and columns that repeat on every printed page. For a 20-page sales report, setting row 1 as a repeated header means every page shows the column titles, eliminating confusion about which numbers represent quantities versus prices. Similarly, you can repeat a leftmost column containing row labels for wide spreadsheets that span multiple horizontal pages.
For documents that combine charts and data tables, control how lines appear around each element separately. Charts have their own border properties accessed through right-click formatting, while the underlying data can use gridlines or borders independently. This separation allows you to create magazine-quality layouts where a colorful chart sits beside a clean tabular breakdown, each with its own line treatment that complements rather than competes with the other elements on the page for visual attention.
Custom Views save complete sets of print settings including gridline preferences, page orientation, scaling, and print area for instant recall. Create one view called Monthly Summary with gridlines enabled and another called Detail Report with borders only, then switch between them using the Custom Views dialog under the View tab. This is especially useful when the same spreadsheet serves multiple purposes throughout a reporting cycle and saves enormous time when generating quarterly reviews under tight deadlines.
Header and footer customization adds professional polish to printed spreadsheets. Use the Header and Footer button on the Insert tab to add page numbers, file paths, dates, or company logos to every printed page. The lines you configure for your data area remain unaffected by header content, and the headers themselves can include simple line elements through ampersand codes that add horizontal rules above or below the page number for clean visual separation between header and data.
For frequent printers, consider creating a workbook template with your preferred print settings baked in. Save a blank workbook with gridline printing enabled, default margins set to your preferred values, and Print Titles configured for typical header structures. Then use this template as the starting point for new analyses. This eliminates the repetitive setup task of configuring print options on every new file you create, particularly useful in office environments with standardized reporting formats and brand guidelines.
Finally, learn the keyboard shortcuts that accelerate the printing workflow. Ctrl+P opens the print preview pane instantly, Ctrl+F2 toggles the print preview in older versions, and Alt+P,G accesses the Page Layout Gridlines toggle without leaving the keyboard. Power users who print frequently can shave minutes off each print job by mastering these shortcuts, which adds up significantly across a year of weekly or daily reporting cycles in finance, accounting, and operations roles that depend heavily on Excel output.
To wrap up this comprehensive guide, let us consolidate the essential practices that consistently produce excellent printed output. Always start by previewing your print job before sending it to paper. Press Ctrl+P or navigate to File then Print and carefully examine the preview pane. Check that gridlines appear, headers are positioned correctly, and no data is clipped at page boundaries. Five seconds of preview review saves countless reprints and wasted paper, especially when working with longer documents that span dozens of pages and dozens of data columns.
Establish a consistent visual language across your workbooks. Decide whether your standard format uses gridlines, borders, or a combination, and apply that style universally to all your reports. Colleagues who regularly receive your documents will appreciate the predictability, and you will spend less mental energy reformatting each new file from scratch. Consider documenting your preferred settings in a team style guide if you work in a department that produces lots of spreadsheets for shared distribution and external stakeholder consumption.
Pay attention to font sizes relative to line weights. Small fonts paired with thick borders look cramped and unprofessional, while large fonts with thin gridlines feel disjointed and visually unbalanced. A general guideline is to use 10 to 12 point fonts for body data with standard gridlines, then bump up to 14 point or larger for section headers paired with medium-weight borders. This proportional approach creates a clear visual hierarchy that guides readers naturally through your data from top to bottom across each page consistently.
Test your printouts on the actual hardware your audience will use. A document that looks crisp on your high-end office laser printer may render poorly on a home inkjet or a shared workgroup device. If you are sending a file to a client who will print it themselves, consider exporting to PDF first to lock in the formatting and prevent their printer driver from making unexpected substitutions to your carefully configured line settings, font selections, and overall page layout that you spent so much time perfecting.
Combine printing best practices with strong data organization. Even the most beautifully formatted printout fails if the underlying data is disorganized or confusing. Spend time ensuring your columns are logically ordered, your headers are descriptive, and your totals are clearly distinguished from line items. Lines on paper amplify the underlying structure of your data, so investing in good spreadsheet design pays dividends every time someone prints and reads your work in a meeting, audit, or compliance review across the calendar year.
For users working with formulas like vlookup and complex lookups, consider how the printed output will display the calculated results. Lookup formulas often return values that need clear separation from the source data, so use borders strategically to highlight the results section. This makes the printed report easy to scan and helps reviewers quickly identify the calculated outcomes versus the raw input data that fed into them, particularly important in financial analyses where audit trails matter enormously.
Finally, build the habit of saving your work before printing. Excel occasionally crashes during large print jobs, and unsaved formatting changes can be lost. A quick Ctrl+S before initiating a major print run takes one second and provides peace of mind. Combined with the other techniques covered in this guide, this simple habit ensures that your printed spreadsheets consistently look professional, communicate clearly, and reflect well on your attention to detail in every report you produce throughout your career.
Excel Questions and Answers
About the Author
Business Consultant & Professional Certification Advisor
Wharton School, University of PennsylvaniaKatherine Lee earned her MBA from the Wharton School at the University of Pennsylvania and holds CPA, PHR, and PMP certifications. With a background spanning corporate finance, human resources, and project management, she has coached professionals preparing for CPA, CMA, PHR/SPHR, PMP, and financial services licensing exams.