Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi!
I have a code from an unknow author which I try to understand, but I can't! Can you help me guys? The code is: Function bitcheck(ival As Integer, ibit As Integer) bitcheck = 0 If (ival And 2 ^ ibit) 0 Then bitcheck = 1 End Function But when I change the If statement for this: If ival 0 and 2 ^ ibit 0 then bitcheck = 1 the function does not give the same answer. Why?? Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
User Function Question: Collect Condition in Dialog Box - But How toInsert into Function Equation? | Excel Programming | |||
copy of excel file not showing formulal/function in the function b | Excel Discussion (Misc queries) | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
Excel - User Defined Function Error: This function takes no argume | Excel Programming | |||
Offset function with nested match function not finding host ss. | Excel Worksheet Functions |