Excel TV ExcelTV

Turn Off Excel Background Error Checking via VBA

Updated

When I’m all done with my Excel application, I’ll usually want to flip off background error checking – that is, I’ll tell Excel to stop showing those little green triangles that appear in cells.

Why Disable Error Checking?

For a polished, professional workbook, those green triangles can detract from the clean look you’re going for. By disabling error checking, you can prevent Excel from unnecessarily second-guessing your work.

Don’t get me wrong, those little green alerts can be useful – but they are rarely so in a finished product where I know my layout and formulas are correct. I just want to tell Excel, “thanks for the help, but stop annoying me already!” Indeed, these green alerts appeared on other computer screens when users opened my Periodic Table of elements file, which I found annoying.

How-to Turn Off Cell Background Error Checking with VBA

Excel VBA Code to Ignore Error in Cell

The problem is that while I can tell those green triangles to go away on my instance Excel by going into Excel Options (or simply by clicking “ignore”), that won’t fix the problem when my file is loaded onto other computers. The way around this is some VBA and the workbook open and close events. 

So, in my ThisWorkbook object in the VBA window, I wrote this:

Option Explicit

Private Sub Workbook_Open()

    Application.ErrorCheckingOptions.BackgroundChecking = False

End Sub

Private Sub Workbook_BeforeClose(Cancel As Boolean)

    Application.ErrorCheckingOptions.BackgroundChecking = True

End Sub

There are actually several types of background error checking that go on in a workbook.

How to Disable Error Checking in Excel with VBA

Excel allows you to disable these separate error checks by themselves if don’t want to disable everything. Specifically, you can modify background checking options for empty cell references, error calculations, inconsistent formulas, and omitted cells, among others. For example, you might simply write:

Application.ErrorCheckingOptions.OmittedCells = False

If you only want Excel to stop monitoring for formula patterns that appear to omit cells that Excel thinks should be included in the formula. This will work so long as BackgroundChecking is still True. If you set BackgroundChecking to False like in the example above, Excel will cease all attempts to second guess your work (which can make your life easier, sometimes). 

To read more, see: The ErrorCheckingOptions Object

How to Disable Error Checking in Excel Without VBA

Excel’s green error triangles can be helpful when catching mistakes, but they often feel more like an annoyance—especially when you’re confident your formulas and layout are correct. Fortunately, you can disable error checking without resorting to VBA. Here’s how to do it.

Turn Off Error Checking the Easy Way

1 – Open Excel Options

The first step is to access the settings that control error checking:

  1. Go to the File tab.
  2. Click Options to open the Excel Options dialog box.

2 – Navigate to Error Checking Settings

  1. In the Excel Options window, select Formulas from the menu on the left.
  2. Scroll down to the Error Checking section.

3 – Disable Background Error Checking

  1. Uncheck the box for Enable background error checking.
  2. This will stop Excel from displaying those pesky green triangles across all cells in the workbook.

Bonus: Disable Specific Error Types

If you don’t want to turn off all error checking, you can disable specific types instead:

  1. Stay in the Formulas section of Excel Options.
  2. Click the Error Checking Rules button.
  3. Uncheck the rules you want to disable (e.g., “Formulas that omit cells in a region” or “Inconsistent calculated column formula in tables”).

This way, Excel will still alert you to critical issues while ignoring the less relevant ones.

No VBA needed—just a few clicks, and you’re good to go. If you change your mind, you can always re-enable error checking by following the same steps.

Happy Excel-ing!

Written by

Jordan Goldmeier
Jordan GoldmeierCo-founder, Excel TVFormer Adjunct Instructor, Wake Forest University

Consultant, Anarchy Data · Instructor, Full Stack Modeller

  • Excel
  • Financial Modeling
  • Data Visualization
  • Analytics
Jordan Goldmeier is an accomplished data professional with a wealth of experience across various industries. He currently serves as a consultant at Anarchy Data, where he assists businesses in maximizing the capabilities of Excel for financial planning and analysis. Jordan is also an instructor at Full Stack Modeller and a former Adjunct Instructor in Analytics at Wake Forest University. His extensive career has seen him hold positions as the Chief Operations Officer at Excel.TV, Data Science Manager at DataKind, Data Scientist at Dealer Tire and EY, Analytics & Data Vis Developer at The Perduco Group, and Operations Research Analyst at Booz Allen Hamilton. Jordan's background in data analytics and his passion for Excel make him a valuable resource for businesses seeking to improve their data-driven decision-making processes.

Read more articles by Jordan Goldmeier

Editorial standards

Fact Checking & Editorial Guidelines

Every article on Excel TV is held to a published editorial standard. The goal: accurate, current, and useful — without filler.

  1. Expert review. Drafts on technical Excel topics are reviewed by a contributor with hands-on, working knowledge of the feature being covered.
  2. Source validation. Claims about Excel behavior are tested in current Microsoft 365 builds. Third-party product claims are sourced from the vendor's own documentation.
  3. Disclosure. Affiliate links, sponsorships, and any commercial relationships that influenced a piece are disclosed in-line and at the foot of the article.
  4. Updates. Articles are revisited when Microsoft ships changes that affect the content. The most recent revision date is shown on every post.

Spot a problem? Email editor@excel.tv and we will look at it.

Subject-matter review

Reviewed by Subject Matter Experts

Technical Excel articles are reviewed by contributors with verifiable, hands-on experience in the topic — not generalist editors.

  • Qualified reviewers. Reviewers include Microsoft Excel MVPs, working business-intelligence practitioners, and Excel TV editorial staff. See each author's page for credentials.
  • Current to a known Excel build. Procedural articles state which Excel version they were validated against. Where Microsoft has since changed behavior, the article carries an inline update note.
  • Clarity check. Reviewers verify steps are reproducible by a reader at the assumed skill level — not just technically correct in a vacuum.

Want to contribute or review for Excel TV? See the about page.