I've tried to search for the correct syntax to write in VBA using the functions, 'or', 'and', and 'not', but they're too common of words to find what I want.
In Excel, I'd write:
How do I write this in VBA?![]()
=if(or(boolean,not(anotherBoolean),and(andBool, andBool2)),valueifTrue,ValueifFalse)
Bookmarks