Solved

Ignore "inconsistent formula" vba

Posted on 2014-10-24
3
1,245 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

697 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