Excel TV ExcelTV

Excel VBA: Disable the Auto Syntax Popup

Updated
Excel VBA: Disable the Auto Syntax Popup

We all love Excel and looks like there is no need any introduction for what is Visual Basic programming. As we all know VB programming allows us to automate tasks and we can do a lot more in Excel with it. But, have you observed the pop-up shown when you make any syntax error while doing Visual Basic programming? It somewhat made us feel comfortable and most of us do not like it. If you are one among them and want to remove auto syntax popup in Visual Basic programming, then Excel MVP Jordan Goldmeier unfolds the tip showing to remove auto syntax popup.

How-to Disable Pop up Messages in Excel VBA

In order to open Visual Basic Editor, you need to have ‘Developer’ tab enabled in your Spreadsheet. So, let us see how to enable ‘Developer’ tab and other steps to remove auto syntax popup.

1 – Enable Developer Tab

Once you open the Excel Spreadsheet, click on ‘File’ and select ‘Options’. In ‘Excel Options’ dialog box, click on ‘Customize Ribbon’ on the left side. Check the option ‘Developer’ on the right side and click ‘Ok’. This would show the ‘Developer’ tab in your Excel Spreadsheet.

2 – Open the Visual Basic Editor

To open Visual Basic editor, click on ‘Visual Basic’ icon under ‘Developer’ tab. This would open the ‘Microsoft Visual Basic for Applications’ window where you can start writing the Visual Basic programs.

1

3 – Auto Syntax Popup

When you make any syntax error, then it would show the dialog box with ‘Compile error:’ message. It also shows the line with syntax error with the red color. Actually, whenever you hit enter, it would auto check the syntax and if there is any error it throws the pop up as shown.

2

4 – Remove Auto Syntax Popup

If you do not want to have the auto syntax checks and wants to remove auto syntax popup, then click on ‘Tools’ and then click on ‘Options’

3

Now, in ‘Options’ dialog box, uncheck the option ‘Auto Syntax Check’ and click on “Ok” button.

4

From now on, when there is any syntax error, then it would be shown in red colored syntax and there would be no more auto syntax popup.

What’s next?

Jordan has introduced us the very good and useful tip. Give it a try and let us know your opinion or suggestion on it. If you have anything to add, please do share with us through comments.

Written by

Sridhar Belide
Sridhar BelideB.Tech. Computer Science, JNTUH10+ years in software engineering

Software Engineer, Wells Fargo

  • React
  • UI Frameworks
  • Front-end Development
Sridhar Belide is a skilled software engineer with over a decade of experience in the industry. Currently working at Wells Fargo since December 2018, he focuses on developing UI frameworks for front-end applications using React. Before joining Wells Fargo, Sridhar spent five years and four months at Tata Consultancy Services, where he held the position of IT Analyst. He also has experience as a Community Manager for Impact SoftTech Pvt. Ltd. EALP and as a Software Research and Development Engineer at NSN - Nokia Solutions and Networks. Sridhar holds a Bachelor of Technology (B.Tech.) in Computer Science from JNTUH, demonstrating his strong foundation in the field.

Read more articles by Sridhar Belide

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.