View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dennis W. Bulgrien
 
Posts: n/a
Default Where are Bitwise Operators

Make VBA functions like these:

Public Function BITXOR(x As Long, y As Long)
BITXOR = x Xor y
End Function

Public Function BITAND(x As Long, y As Long)
BITAND = x And y
End Function

Public Function BITOR(x As Long, y As Long)
BITOR = x Or y
End Function

"Dennis W. Bulgrien" wrote in message
...
How does one do bitwise manipulations such as exclusive-or (XOR), AND, etc.?