hexadecimal mathematics
Just subtract the numbers
a = &H22
b = &H33
c = b - a
MsgBox ("Answer: " & c & ", Hex Answer: " & Hex(c))
The answer above is 17 decimal, which is &H11. You need to format the 17 as
a Hex Number using the Hex function
"vikas" wrote:
how to substract two hexadecimal numbers
|