How can I use the XOR function?

  • Thread starter Thread starter Tom Ogilvy
  • Start date Start date
T

Tom Ogilvy

From VBA help on XOR

Xor Operator
Used to perform a logical exclusion on two expressions.

Syntax

[result =] expression1 Xor expression2

The Xor operator syntax has these parts:

Part Description
result Optional; any numeric variable.
expression1 Required; any expression.
expression2 Required; any expression.


Regards,
Tom Ogilvy
 
VBA doesn't implement the XOR operator, neither has it a XOR function. Is
there an add-in or a referance I can use?
I can write my own function, but I'd rather not.

Regards,

Roy
 
Tom Ogilvy said:
From VBA help on XOR

Xor Operator
Used to perform a logical exclusion on two expressions.

Syntax

[result =] expression1 Xor expression2

The Xor operator syntax has these parts:

Part Description
result Optional; any numeric variable.
expression1 Required; any expression.
expression2 Required; any expression.


Regards,
Tom Ogilvy


Roy Barr said:
VBA doesn't implement the XOR operator, neither has it a XOR function. Is
there an add-in or a referance I can use?
I can write my own function, but I'd rather not.

Regards,

Roy
 
Back
Top