Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default hexadecimal mathematics

how to substract two hexadecimal numbers
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Import hexadecimal data into excel keeping hexadecimal format Whale Excel Discussion (Misc queries) 1 February 24th 10 08:23 AM
Mathematics: How to display numbers/characters with a line over th JamesOnTheWay Excel Discussion (Misc queries) 4 January 13th 09 09:12 AM
Hexadecimal data Marvin Buzz Excel Discussion (Misc queries) 2 September 4th 08 02:26 PM
Leading Zero in Hexadecimal? Tony Excel Discussion (Misc queries) 5 August 21st 07 03:32 AM
Hexadecimal Woes Bryan Loeper Excel Programming 4 May 20th 07 01:42 AM


All times are GMT +1. The time now is 09:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"