Solved

Ignore "inconsistent formula" vba

Posted on 2014-10-24
3
1,420 Views
Last Modified: 2014-10-24
Hi,

I am sending a wb some colleagues, though i have my inconsistent formula turned off on my PC, they wont on theres, can i run that into a module, so that those annoying warnings are turned off on opening the spreadsheet

Thanks
0
Comment
Question by:Seamus2626
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:Seamus2626
ID: 40402232
But i need them to be turned back on exiting the spreadsheet
0
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 40402272
You can run a loop for specific ranges and errors:

Sub IgnoreInconsistentFormulas()
Dim cell as Range
for each cell in selection
 cell.errors.item(xlInconsistentFormula).ignore = true
 next cell
End Sub

Open in new window


for example.
0
 

Author Closing Comment

by:Seamus2626
ID: 40402319
Thanks!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question