Excel 365, Evaluate, and the Type Mismatch error

If you have a version of Excel that no longer requires you to array enter array formulas by using Ctrl+Shift+Enter, you may discover an unexpected side effect if you write code that uses Evaluate with a formula containing one or more ROW() or COLUMN() worksheet functions. Any such code will now always return an array, even if the result is just one value.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.