J Joel Mar 17, 2008 #2 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
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