excel vba make long from two shorts

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

Public Function MakeLong&(ByVal LoWord%, ByVal HiWord%)
MakeLong = (HiWord * &H10000) Or (LoWord And &HFFFF&)
End Function

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

More questions on [categories-list]

Similar Posts