WorksheetFunction.Xor (Excel)

Returns a logical exclusive OR of all arguments.

Xor (Arg1, Arg2, ..., Arg30)


Dim booXor As Boolean
booXor = WorksheetFunction.Xor(Arg1:=)

Arguments

Arg1, Arg2, ..., Arg30

Arg1 - 1 to 254 conditions that you want to test that can be either True or False; can be logical values, arrays, or references

Arg30 - 1 to 254 conditions that you want to test that can be either True or False; can be logical values, arrays, or references