ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How can I use the XOR function? (https://www.excelbanter.com/excel-programming/326990-how-can-i-use-xor-function.html)

Tom Ogilvy

How can I use the XOR function?
 
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" wrote in message
...
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





Roy Barr

How can I use the XOR function?
 
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



Roy Barr

Thanks!
 

"Tom Ogilvy" schrieb im Newsbeitrag
...
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" wrote in message
...
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







Myrna Larson

How can I use the XOR function?
 
VBA doesn't implement the XOR operator, neither has it a XOR function

Where did you get that idea? Did you try Help for XOR?


All times are GMT +1. The time now is 10:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com