|
-
Jun 20th, 2005, 01:01 AM
#1
Thread Starter
Member
bit operations in VBA
I need to place integer number in 2 bits .
something like this :
dim int_num as integer
dim byte_array(2) as byte
if(int_num < 256) then byte_array(0) = Cbyte(int_num)
else
byte_array(0) = ?
byte_array(1) = ?
end if
Does VBA has a bit shift operators/functions? if no, is there another way to solve my question?
10x
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|