WorksheetFunction.Or (Excel)

Returns True if any argument is True; returns False if all arguments are False.

The arguments must evaluate to logical values such as True or False, or in arrays or references that contain logical values. If an array or reference argument contains text or empty cells, those values are ignored. If the specified range contains no logical values, Or returns the #VALUE! error value. You can use an Or array formula to see if a value occurs in an array. To enter an array formula, press Ctrl+Shift+Enter.

Or (Arg1, Arg2, ..., Arg30)


Dim booOr As Boolean
booOr = WorksheetFunction.Or(Arg1:=)

Arguments

Arg1, Arg2, ..., Arg30

Arg1 - Logical1, logical2, ... - 1 to 30 conditions that you want to test that can be either True or False