#1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Bitwise And

Can you do a bitwise and in VBA? If so, could someone post a small example?


  #2   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Bitwise And

Justin Starnes wrote:

Can you do a bitwise and in VBA? If so, could someone post a small example?



Apparently all of the VBA logic operations are already bitwise.

The following is stolen from an old post by Myrna Larson:

Function BitWiseAND(Number1 As Long, Number2 As Long) As Long
BitWiseAND = Number1 And Number2
End Function

from
http://groups.google.com/groups?hl=e...icrosof t.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
bitwise functions vbano Excel Worksheet Functions 3 January 27th 10 06:00 PM
bitwise operations as in xor stevenshrii Excel Discussion (Misc queries) 2 April 16th 09 09:43 AM
how to do "bitwise and operation" in excel? Parth Excel Worksheet Functions 0 May 3rd 07 08:30 PM
How do I perform bitwise logical anding and oring in Excel? Mitchell Heldt Excel Worksheet Functions 0 August 6th 06 08:50 PM
Where are Bitwise Operators Dennis W. Bulgrien Excel Worksheet Functions 1 June 30th 06 05:51 PM


All times are GMT +1. The time now is 05:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"