Avatar of Jeff9687
Jeff9687 asked on

Excel "Inconsistent Formulas"

Hello-- I am working in Excel 2003 and am getting green triangles in the top-left of certain cells, indicating an "Inconsistent formula." In order to get them to go away, I have to click "Ignore error" in the dropdown menu... Is there a way to get them to all disappear with VBA code? Something along the lines of:


Thank you.
Microsoft Excel

Avatar of undefined
Last Comment

8/22/2022 - Mon

Tools->Options, select "Error Checking" tab,
Unselect "Inconsistent formula in region" , or unselect "Enable background error checking" .

Click on Menu Tool~~> options
Under the error checking tab "Uncheck" "inconsistent formulas in region" :)

Is there a way to do it in VBA? My code is going to run on a server and then the resulting spreadsheet will be automatically written to pdf, and the server's Excel may have the inconsistent formula notifications activated so the only way for me to change it will be through VBA... also, I'd like to be able to turn the notifications back on so after the code is done running and the pdf is printed so that I don't wind up permanently changing the Excel settings on the server. For example I know that for the option to change the column format in a spreadsheet from alphabetical to RC, instead of doing it manually through tools ~ options ~ general ~ R1C1 reference style, you can do it in vba via:

Your help has saved me hundreds of hours of internet surfing.

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Nice, that's what I was looking for.