excel vba make word from bytes

The solution for “excel vba make word from bytes” can be found here. The following code will assist you in solving the problem.

Public Function MakeInteger%(LoByte As Byte, HiByte As Byte)
If HiByte And &H80 Then
MakeInteger = ((HiByte * &H100&) Or LoByte) Or &HFFFF0000
MakeInteger = (HiByte * &H100) Or LoByte
End If
End Function

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts