Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / June 2006

Tip: Looking for answers? Try searching our database.

Where are Bitwise Operators

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dennis W. Bulgrien - 30 Jun 2006 17:27 GMT
How does one do bitwise manipulations such as exclusive-or (XOR), AND, etc.?
Dennis W. Bulgrien - 30 Jun 2006 17:51 GMT
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.?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.