excel vba second byte from INTEGER

The solution for “excel vba second byte from INTEGER” can be found here. The following code will assist you in solving the problem.

LoByte = n And &HFF					‘<-- if n is a 2-byte Integer (left byte)
HiByte = (n And &HFF00&) \ &H100	'<-- if n is a 2-byte Integer (right byte)

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

More questions on [categories-list]

Similar Posts