Question : excel vba get low byte from INTEGER
Answered by : daniel-ferry
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)
Source : http://academy.excelhero.com/ | Last Update : Sat, 30 May 20