Hi,
Is there a possibility to make a VBA with this?
=IF((A1+B2)>255,(A1+B2)-256,A1+B2) = IF((A2+B3)>255,(A2+B3)-256,A2+B3) = A3
Hi,
Is there a possibility to make a VBA with this?
=IF((A1+B2)>255,(A1+B2)-256,A1+B2) = IF((A2+B3)>255,(A2+B3)-256,A2+B3) = A3
Last edited by strikermail; 08-12-2010 at 02:46 PM.
eg[VBA]Sub AAA()
'=IF((A1+B2)>255,(A1+B2)-256,A1+B2)
If [A1] + [B2] > 255 Then
MsgBox [A1] + [B2] - 256
Else
MsgBox [A1] + [B2]
End If
End Sub[/VBA]
Artik