How To Hide Gridlines In Excel

6 min read

Introduction

If you spend any amount of time working with spreadsheets, you’ve probably noticed the faint gridlines that run across every cell in an Excel worksheet. While these lines help visualize data, they can also clutter the view, especially when you’re preparing a report for printing or sharing with colleagues who prefer a cleaner look. Consider this: How to hide gridlines in excel is a common question among users who want a more professional appearance without altering the actual data. This article walks you through several reliable methods to hide gridlines in Excel, covering the desktop versions for Windows and Mac, the web‑based Excel Online, and a few extra tricks to keep your worksheets looking crisp and focused.

Honestly, this part trips people up more than it should Most people skip this — try not to..

How to Hide Gridlines in Excel (Desktop – Windows)

Using the View Tab

The quickest way to hide gridlines in the Windows version of Excel is through the View tab on the ribbon And that's really what it comes down to..

  1. Select the View tab – Click on “View” in the top menu bar.
  2. Locate the Gridlines checkbox – In the “Show” group, you’ll see a small box labeled “Gridlines.”
  3. Uncheck the box – Removing the check instantly hides the gridlines across the entire workbook.

Why this works: The “View” settings control how the worksheet is displayed on screen; unchecking “Gridlines” tells Excel not to render the lines at all, which is exactly what you need when you ask how to hide gridlines in excel.

Using Page Layout View

If you only want to hide gridlines while preparing a printout, you can switch to Page Layout view:

  1. Go to the View tab.
  2. Click the Page Layout button (it looks like a page with a folded corner).
  3. In the “Page Setup” group, find the “Gridlines” option and uncheck it.

This method keeps the gridlines visible while you edit but removes them in the final printed page, giving you flexibility without permanently changing the view.

How to Hide Gridlines in Excel (Mac)

The Mac edition follows a similar logic, though the ribbon layout differs slightly.

  1. Open the View menu – Click “View” in the menu bar at the top.
  2. Find the Gridlines option – It appears under “Show” alongside “Formula Bar” and “Headings.”
  3. Uncheck Gridlines – The lines disappear instantly.

Tip: If you’re using Excel for Mac 2016 or later, you can also right‑click the sheet tab and choose “Show Gridlines” to toggle the setting quickly.

How to Hide Gridlines in Excel Online (Web)

Excel Online shares the same interface concepts as the desktop apps, making it easy to hide gridlines from any browser.

  1. Sign in and open your workbook – work through to office.com and launch Excel Online.
  2. Click the “View” tab – It’s located in the top menu, next to “Home.”
  3. Locate the “Gridlines” toggle – Under the “Show” section, you’ll see a checkbox for “Gridlines.”
  4. Uncheck the box – The gridlines vanish instantly, and the change syncs across all devices.

Note: The web version does not have a dedicated “Page Layout” view, so the View‑tab method is the only way to hide gridlines for on‑screen work.

Additional Methods and Tips

Custom Views

If you frequently switch between a gridlined and gridless view, create a Custom View:

  1. Hide gridlines using any of the methods above.
  2. Go to View → Custom Views → Add.
  3. Name the view (e.g., “Clean View”) and click Save.

Now you can restore the clean look with a single click, which is handy for presentations or when you need to how to hide gridlines in excel for different audiences.

VBA Macro

For power users, a tiny VBA macro can toggle gridlines automatically:

Sub ToggleGridlines()
    With ActiveWindow
        .DisplayGridlines = Not .DisplayGridlines
    End With
End Sub
  • Press Alt + F11 to open the VBA editor.
  • Insert a new module, paste the code, and close the editor.
  • Assign the macro to a button or shortcut key for instant access.

This approach is especially useful if you need to hide gridlines programmatically in a large workbook.

Printing Considerations

Even when gridlines are hidden on screen, they may still appear in printed copies if you’re using Print Preview. To ensure a truly clean print:

  1. Go to Page Layout → Print Area → set the desired range.
  2. In the Sheet Options group, uncheck “Print” under “Gridlines.”

Now the printed output will match the on‑screen view

Below is a quick guide to make sure every sheet looks tidy whether you’re viewing it on your laptop, tablet, or simply printing it out The details matter here. And it works..

Checking Sheet‑wide Settings

  1. Choose “Page Layout” → “Print Area” – This brings up the area’s print options where you can turn off gridlines before they appear on paper.
  2. In the Sheet Options pane, locate “Gridlines” under Print and uncheck the box.
    • When you select this option, the printer receives a blank grid, matching what you see on the screen.

Multi‑sheet Consistency

If several worksheets share the same visual style but each has its own grid‑line toggle setting, run through the following steps:

Platform Quick Fix
Desktop (macOS / Windows) Right‑click any tab → Show Gridlines (or adjust the checkbox in the View menu). Plus,
Excel Online (web) Sign in at  → click View → find the Gridlines toggle in the Show section and deselect it.
Custom View (one‑time) Create a new view named “Clean View,” apply the hidden state, then assign it to all open workbooks so users can switch instantly.

A single button or keyboard shortcut linked to the ToggleGridlines VBA routine lets anyone press one key and have the grid disappear—handy for large files or automated reports.

Troubleshooting Persistent Lines

  • Print Preview still shows gridlines: Verify that the Print Preview mode isn’t overriding the “no gridlines” choice. Go to File → Options → Advanced → Print, ensure “Include Printed Gridlines” is unchecked.
  • Different sheet uses gridlines while others don’t: Run the Find & Replace in cell formats (Ctrl+H) to remove any stray gridline codes (#), or re‑apply the same view settings to each sheet individually.

Conclusion

Hiding gridlines in Microsoft Excel is straightforward across desktop applications, the web service, and mobile clients. Which means by toggling the View → Gridlines checkbox, creating a dedicated Custom View, or employing a tiny VBA macro, you can keep a pristine layout without extra effort. In practice, remember to also disable gridlines during the print process, especially when using Print Preview. With these tools available, you’ll be able to present data cleanly, share documents without clutter, and maintain consistent appearance across all platforms. Implement whichever method aligns best with your workflow, and enjoy a distraction‑free spreadsheet experience!

Coming In Hot

Hot Off the Blog

Branching Out from Here

You Might Also Like

Thank you for reading about How To Hide Gridlines In Excel. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home