D Dennis W. Bulgrien Jun 30, 2006 #1 How does one do bitwise manipulations such as exclusive-or (XOR), AND, etc.?
D Dennis W. Bulgrien Jun 30, 2006 #2 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 How does one do bitwise manipulations such as exclusive-or (XOR), AND, etc.?
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 How does one do bitwise manipulations such as exclusive-or (XOR), AND, etc.?