Signature (Visual Basic / VBA)
Public Function CoerceTwoIntegersToLong( _
ByVal vLo As Integer _
, ByVal vHi As Integer _
) As Long
Code Example
CoerceTwoIntegersToLong(1, 2) = 131073
CoerceTwoIntegersToLong(2, 1) = 65538
CoerceTwoIntegersToLong(0, 32767) = 2147418112
CoerceTwoIntegersToLong(0, -32767) = -2147418112