What do you want to save?
Add Code snippet
New code examples
-
VBA 2021-09-08 16:15:02
vba check if certain bits are set in longlong integer
'Fast VBA function to test if specific bits are set 'within a 64-bit LongLong integer. If ALL specified bits are set then 'this function returns True. If ANY of the specified bits are 'not set then this function returns False. 'Bits are numbered from 0... Add solution -
VBA 2021-09-07 22:02:02
excel vba check if certain bits are set in 64-bit longlong integer
'If n is a 4-byte Long Integer, the Low (Left) Word is: If n And &H8000& Then LoWord = n Or &HFFFF0000 Else LoWord = n And &HFFFF& End If 'If n is a 4-byte Long Integer, the High (Right) Word is: HiWord = (n And &HFFFF0000)... Add solution -
VBA 2021-09-02 23:16:02
xlvba is bit set in 64-bit integer
'Extremely fast VBA function to test if a specified bit is set 'within a 64-bit LongLong integer. 'Bits are numbered from 0 to 63, so the first (least significant) bit 'is bit 0. 'Note: we do not inspect bit 63, the sign bit. 'Note: the LongLong data t... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5