ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Disable cell warning/error messages (https://www.excelbanter.com/excel-programming/355593-disable-cell-warning-error-messages.html)

[email protected]

Disable cell warning/error messages
 
Hello,

I have several hidden cells side-by-side that contain custom
calculations, and am receiving the error: "The formula in this cell
differs from the formulas in this area of the spreadsheet." Since
these cells are hidden, I don't want the user to see the small green
icon in the upper left corner of each cell, and the corresponding error
message.

How do I disable these errors through VBA so they are not visible?

Thank you,

Chad


Bernie Deitrick

Disable cell warning/error messages
 
Chad,

Try:

Application.ErrorCheckingOptions.InconsistentFormu la = False

HTH,
Bernie
MS Excel MVP


wrote in message
oups.com...
Hello,

I have several hidden cells side-by-side that contain custom
calculations, and am receiving the error: "The formula in this cell
differs from the formulas in this area of the spreadsheet." Since
these cells are hidden, I don't want the user to see the small green
icon in the upper left corner of each cell, and the corresponding error
message.

How do I disable these errors through VBA so they are not visible?

Thank you,

Chad




[email protected]

Disable cell warning/error messages
 
Worked like a charm, thanks!



All times are GMT +1. The time now is 02:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com