Excel Practice Test

โ–ถ

Those faint grey lines covering every worksheet you open in Excel? Those are gridlines. They're handy when you're entering numbers, but the moment you want a clean report, a polished dashboard, or a screenshot for a presentation, they get in the way. The good news: turning them off takes about three seconds once you know where to look. The slightly less good news: there are four different ways to do it, and the right one depends on what you're trying to achieve.

This guide walks through every method for hiding gridlines, from the one-click toggle on the View tab to the trick most people miss when they actually want a borderless print. We'll also cover the common gotchas: gridlines that come back the next time you open the file, gridlines that vanish on one sheet but linger on another, and the difference between hiding gridlines and removing them with a fill color. By the end you'll know exactly which option to use and why.

Whether you're cleaning up a quarterly review, building a calendar template, or just tired of looking at a grid, the steps below work in Microsoft 365, Excel 2021, 2019, 2016, Excel for the web, and Excel for Mac. The keyboard shortcuts are mostly the same. The menus look almost identical. And once you've done it once, you won't forget where the checkbox lives.

Gridlines at a Glance

โœ…
4
Built-in methods to hide them
๐Ÿ–ฑ๏ธ
1 click
Fastest method (View tab checkbox)
๐Ÿ“„
Per sheet
Setting applies to one worksheet at a time
๐Ÿ“Š
On by default
Every new Excel workbook
โŒจ๏ธ
Alt+W+V+G
Windows shortcut to toggle instantly
๐Ÿ’พ
0 bytes
File size change (truly free)

What Gridlines Actually Are (and What They Aren't)

Before you flip a switch, it helps to know what you're switching off. Gridlines are the light grey lines Excel draws between every cell to show you where one cell ends and the next begins. They don't print by default, they aren't part of the data, and they aren't borders. Borders are a formatting choice you apply to specific cells. Gridlines are a display preference that affects the whole worksheet.

That distinction matters because people often think their gridlines are broken when really they've applied a white fill color to a range, which hides the gridlines underneath, or a black border, which sits on top of them. If you toggle gridlines off and lines still appear, you're looking at borders. Toggle gridlines back on and check the cell formatting if you want to be sure.

One more thing: gridlines are a per-worksheet setting, not a per-workbook one. If you turn them off on Sheet1, Sheet2 still has them. Same with print settings. Every sheet inherits the default until you change it. That's a feature, not a bug, but it surprises people who expect one click to clear the whole file.

Press Alt + W + V + G in Microsoft Excel on Windows to toggle gridlines off (or on) for the active worksheet. No mouse required. On Mac, use the Layout tab in the ribbon and uncheck Gridlines.

Method 1: The View Tab Checkbox (The One You'll Use Most)

Open your workbook. Click the worksheet tab at the bottom for the sheet you want to clean up. Then look at the ribbon at the top of the screen and click View. You'll see a group called Show with checkboxes for Ruler, Gridlines, Formula Bar, and Headings. Uncheck Gridlines. The grid disappears immediately.

This is the fastest, most reliable way to hide gridlines, and it's the method most Excel courses teach first. The setting is sticky, meaning it stays off when you save and reopen the file. It's also sheet-specific. If you have a dashboard sheet you want clean and a data sheet you want with gridlines, you can have both at the same time without any conflict.

Want them back? Repeat the steps and check the box again. There's no undo limit, no version dependency, no setting buried in Options. It's just a checkbox.

Four Ways to Hide Gridlines

๐Ÿ”ด View Tab Checkbox

Uncheck Gridlines in the Show group on the ribbon. Fastest method. Works in every desktop version of Excel from 2007 onward.

๐ŸŸ  Page Layout Tab

Untick the View box under Sheet Options > Gridlines. Same screen result, but useful when you're already configuring print settings.

๐ŸŸก Excel Options Dialog

File > Options > Advanced > uncheck Show gridlines for this worksheet. Also lets you change gridline color from the default grey.

๐ŸŸข White Fill Color

Select cells and apply a white fill. Visually identical to hiding gridlines, but technically covers them and increases file size.

๐Ÿ”ต Select-All-Sheets Trick

Right-click a sheet tab, choose Select All Sheets, then toggle gridlines off. Applies the change to every sheet at once. Don't forget to ungroup when done.

๐ŸŸฃ Recorded Macro

Record a one-step macro for the View tab toggle and assign it to a Quick Access Toolbar button. Hides gridlines in any workbook with a single click.

Method 2: The Page Layout Tab

If you're prepping a worksheet for printing, the Page Layout tab is the better place to manage gridlines. Click it, find the Sheet Options group, and you'll see two columns of checkboxes: one labeled View, one labeled Print. The View column controls what you see on screen. The Print column controls what shows up on paper.

Want gridlines on screen but not on the printout? Leave View checked, uncheck Print. Want a clean screen and clean print? Uncheck both. This is one of those small details that saves you a wasted sheet of paper at the end of a long day, and it works the same way in every Excel version going back to 2007.

If you don't see Sheet Options on the Page Layout tab, your Excel window might be too narrow. Maximize the window or scroll the ribbon and the group should appear. On smaller laptop screens Microsoft sometimes collapses ribbon groups into dropdowns. Click the small arrow under Sheet Options to expand it.

Hide Gridlines by Excel Version

๐Ÿ“‹ Excel 365 / 2021

Go to the View tab and uncheck Gridlines in the Show group. Or use Page Layout > Sheet Options. Settings save with the workbook. Works identically in Microsoft 365 Apps for Enterprise and the standalone Office 2021 versions. Same UI for the perpetual-license home and business builds. The Quick Access Toolbar can also be customised to add a one-click Gridlines toggle button if you do this often.

๐Ÿ“‹ Excel 2019 / 2016

Same path as 365: View tab > uncheck Gridlines. The ribbon icons and group names are unchanged from 2016 onward, so any tutorial written for 365 also applies here. Older 2013 and 2010 builds use the exact same path, just with slightly older icon styling. The setting saves with the workbook in all of these builds, so your preference travels with the file.

๐Ÿ“‹ Excel for Mac

Click the Layout tab (not View) in the ribbon, find the View section, and uncheck Gridlines. Mac builds split the View and Layout commands differently from Windows. You can also use Excel > Preferences > View > untick Show Gridlines for a global default that affects new workbooks. The keyboard shortcut on Mac is Cmd+Shift+G, though it may need to be enabled in keyboard preferences first.

๐Ÿ“‹ Excel for the Web

Open the workbook in your browser, click View in the top ribbon, and uncheck Gridlines. The web version saves the setting to OneDrive, so it persists across sessions. Some older browsers may show a slight delay before the grid disappears, especially on slower connections. The web version doesn't support all the advanced gridline color options that the desktop builds offer, but the basic toggle works reliably.

Method 3: Excel Options (For Power Users)

If you want more control over how gridlines behave, dig into File > Options > Advanced. Scroll down to the section labeled Display options for this worksheet. You'll see a dropdown letting you pick the sheet you're configuring, a checkbox for Show gridlines, and a color picker labeled Gridline color.

Uncheck Show gridlines and you've achieved the same result as the View tab method. But the real reason to come here is the color picker. By default Excel renders gridlines in light grey, which can be hard to see on a high-DPI monitor. Change it to navy, dark green, or whatever you prefer, and gridlines become visible without overpowering your data. Some accountants set it to red for sheets they don't want to print, as a visual reminder.

Note that the dropdown shows every worksheet in the active workbook. If you have a file with twenty sheets and you want consistent behavior across all of them, you'll need to apply the change once per sheet. There's no global toggle in this dialog.

Method 4: The White Fill Trick

There's a fourth approach that isn't really hiding gridlines, but it gives the same visual result. Select the cells you want clean. Press Ctrl + A to select the entire sheet if you want. Then go to the Home tab, click the paint bucket icon (Fill Color), and choose white. The gridlines disappear under the fill.

Why would you use this? Mostly because it lets you hide gridlines on a specific range while leaving them visible elsewhere. The View tab toggle is all-or-nothing for the worksheet. With fill color, you can have a clean white block in the middle of a gridded sheet for a chart background or a logo placement.

The drawback: a fill color makes the file slightly larger, the cells are no longer truly empty, and if anyone later tries to apply conditional formatting or a different theme, your white fill will fight with the new format. For most users the View tab is cleaner and safer.

Before You Save and Share

Confirm gridlines are off on every sheet you plan to share, not just the active one
Open Print Preview to verify gridlines won't print unexpectedly
Check that no white fill colors are masking gridlines on cells you wanted visible
Save the file once you're happy; the gridline setting saves with the workbook
If sharing with someone on a different Excel version, test on their version if possible
For dashboards, consider also turning off Headings (row numbers and column letters) for a fully clean look
Verify the View tab Gridlines checkbox is unchecked before exporting to PDF or sharing externally
Test the printout with one page first if you are about to send a large multi-sheet job to the printer
When using a recorded macro to toggle gridlines, store it in your Personal Macro Workbook so it works across all files
If sending a workbook for collaborative editing in OneDrive, document gridline preferences in a notes cell for teammates
Combine gridline hiding with turning off the Formula Bar and Headings for a maximally clean presentation view
Test Your Excel Skills With Free Practice Questions

Why Gridlines Sometimes Come Back

You hid the gridlines. You saved the file. You sent it to a colleague. They open it and the grid is back. What happened? A few possibilities.

First, gridlines are saved per worksheet, not per workbook. If you turned them off on Sheet1 but your colleague opens Sheet2 first, they'll see gridlines on Sheet2. The fix is to set the preference on every sheet before saving.

Second, Excel versions older than 2007 sometimes don't honor the setting cleanly. If your file was originally created in Excel 2003 (.xls format) and you've been editing it in Excel 365, save it as .xlsx and the gridline preference becomes reliable. The legacy binary format had quirks around display settings.

Third, shared workbooks and tracked changes can override personal display preferences. If you're in a co-authored workbook in OneDrive, what you see may differ from what your collaborator sees because Excel treats some display settings as user-specific. There's no fix for that beyond using full borders if you need consistency.

Fourth, and this one trips up many Microsoft Excel users: Excel for the web sometimes ignores the saved setting on first load and applies the default until you toggle it manually. Refresh the page and the saved preference usually kicks in. Microsoft has improved this over the past two years but it still happens occasionally.

Finally, watch for templates. If you created your workbook from a template that explicitly enables gridlines, the template's setting will override anything you do in the file unless you save the file as a new workbook. Templates can be sneaky like that.

Hiding Gridlines: Worth It?

Pros

  • Cleaner, more professional appearance for reports and dashboards
  • Better screenshots for documentation, training, or presentations
  • Reduces visual clutter when focusing on specific cells or charts
  • Useful for templates like calendars, invoices, and forms
  • Setting is sticky โ€” saves with the file and persists across sessions
  • Works identically in every Excel version since 2007 on every platform

Cons

  • Data entry can feel slower without visible cell boundaries
  • Easy to misalign content when you can't see the grid
  • Per-sheet setting means you may forget to apply it everywhere
  • Doesn't print-suppress gridlines unless you also adjust Page Layout
  • Setting can be confused with cell borders, leading to wasted troubleshooting time
  • Inexperienced collaborators sometimes turn gridlines back on without realising

Keyboard Shortcuts and Power-User Tricks

Once you start hiding gridlines on a regular basis, the mouse path gets old. Here are the shortcuts that turn this into a one-second job.

On Windows, press Alt to activate the ribbon shortcuts. You'll see letter overlays appear. Press W for View, then V for the Show group, then G for Gridlines. The sequence Alt + W + V + G toggles gridlines on or off without touching the mouse. Some users assign this to a custom Quick Access Toolbar button so it's literally one click from any tab.

If you have multiple sheets in a workbook and want gridlines off on all of them at once, right-click any sheet tab and choose Select All Sheets. Then toggle gridlines off using any of the four methods above. The change applies to every selected sheet simultaneously. Just remember to right-click again and choose Ungroup Sheets when you're done, otherwise any data you type into one sheet will be entered into all of them.

For repeatable workflows, record a macro: Developer tab > Record Macro, perform the gridline toggle, stop recording. You now have a one-click button you can add to the Quick Access Toolbar that hides gridlines in any workbook you open. Power users sometimes pair this with a macro that also hides Headings, removes the formula bar, and zooms to fit, creating a single-click presentation mode.

If you spend a lot of time in Excel formulas work and want gridlines on by default but off only for specific sheets, save your blank workbook with gridlines on as a custom template. Any new file inherits the default. Then turn gridlines off manually on individual sheets as you finish them. This matches how most professionals actually work.

Excel Questions and Answers

How do I hide gridlines in Excel in one click?

Click the View tab on the ribbon, then uncheck the Gridlines box in the Show group. That's it. The setting applies to the active worksheet only and saves with the file.

Why do gridlines still show up when I print?

Hiding gridlines on screen and hiding them on print are two different settings. Go to Page Layout > Sheet Options > Gridlines and untick the Print column. Then check Print Preview to confirm.

Can I hide gridlines for the whole workbook at once?

No. Excel treats gridlines as a per-worksheet setting. You'll need to repeat the View tab toggle on each sheet. A macro can automate this if you have many sheets.

Do gridlines and borders look different?

Yes. Gridlines are a display feature that affects the whole sheet and won't print by default. Borders are formatting you apply to specific cells and they always print (and override gridline visibility in those cells).

How do I hide gridlines in Excel for Mac?

On Mac, gridline controls live on the Layout tab (not View). Click Layout, find the View group, and uncheck Gridlines. You can also use Excel > Preferences > View > untick Show Gridlines for a global default.

Will hiding gridlines change my data?

No. Gridlines are purely visual. Hiding them doesn't affect cell values, formulas, formatting, or any data in the workbook. You can toggle them on and off freely.

How do I change gridline color instead of hiding them?

Go to File > Options > Advanced > Display options for this worksheet > Gridline color. Pick any color from the palette. The change applies only to the worksheet selected in the dropdown.

Why do gridlines come back after I share the file?

Either the recipient opened a sheet where you forgot to toggle them off, or they're using Excel for the web which sometimes ignores the saved preference until refreshed. Toggle and resave on every sheet to be safe.

Hiding Gridlines for Specific Use Cases

Different jobs need different approaches. A financial analyst building a board pack, a teacher designing a worksheet, and a developer prepping screenshots for documentation all want gridlines off, but for slightly different reasons.

For board reports and executive dashboards, use the View tab toggle plus a quick check in Page Layout to confirm Print is off too. Executives don't want to see grid clutter, and once a PDF is generated and emailed, you can't undo a print mistake. Take a second to verify before exporting.

For invoices and templates, hide gridlines and add explicit borders where you want lines. This gives precise control: bold borders around totals, hairlines between line items, no border at all in margin areas. Templates look more professional when you've chosen which lines exist.

For documentation screenshots, hide gridlines on the active sheet, take your screenshot at 100 percent zoom, and crop tight. Some technical writers also turn off Headings so row numbers and column letters don't appear in the image, giving a fully clean visual.

For raw data export sheets that other people will paste into their own workbooks, leave gridlines on. The recipient will probably copy the data into their own template anyway, and gridlines help them visually parse what you've sent.

Practice Excel Functions and Formulas (Free Quiz)

Quick Recap

Hiding gridlines in Excel is a tiny change that makes a big visual difference. Four ways to do it: the View tab checkbox for everyday use, the Page Layout tab when you're prepping a printout, the Options dialog when you want to change gridline color too, and the white fill trick for hiding gridlines on just a section of a sheet. The View tab is the one you'll use ninety percent of the time.

Remember the gotchas. Gridlines are per-worksheet, not per-workbook, so turn them off on every sheet you plan to share. Print and screen are separate settings, so check Page Layout before sending a print job. And borders are not gridlines, so if lines still show after you've toggled gridlines off, you're probably looking at cell borders applied somewhere in the formatting.

Once you've done this a few times the muscle memory kicks in. Open file, click View, uncheck Gridlines, done. Most people who learn this trick wonder why they didn't try it sooner. Cleaner sheets, better screenshots, more polished reports, all from a single checkbox.

One last tip many people miss: if you regularly receive workbooks from other teams or clients and you want to remove their gridlines fast, a single keystroke (Alt + W + V + G on Windows) handles it. Combine that with Ctrl + Page Up / Page Down to cycle through sheets, and you can clean an entire workbook in under a minute. Small efficiency wins like this add up across a workday.

And if you ever struggle to figure out whether you're looking at gridlines or borders, here's a quick test. Select any cell and look at the Home tab's Borders dropdown. If borders are applied, the icon will show the configuration. Clear them with No Border and what you see remaining is your gridlines.

That trick alone has resolved hundreds of why won't my gridlines go away support tickets. If you're ready to keep building your Excel skills, the free practice tests linked above cover formulas, functions, charts, and the kind of everyday tasks that come up in real jobs and certification exams.

โ–ถ Start Quiz