Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Hex conversion trouble
StartIt = Val("&h" & HexStartIt)
For HexStartIt under 7FFF, I get a positive number. With 842D, I get -31697. How can I fix this? Excel 97 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Hex conversion trouble
Got it.
StartIt = Val("&h" & HexStartIt & "&") |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Hex conversion trouble
Hi,
Glad you got it. But I also wanted to point out, if you don't know - Excel has a number of function for converting binary and decimal to and from hex BIN2HEX, DEC2HEX, HEX2BIN, and HEX2DEC These function are part of the Analysis ToolPak, which you attach by choosing Tools, Add-ins, and checking Analysis ToolPak. -- If this helps, please click the Yes button. Cheers, Shane Devenshire "Fan924" wrote: StartIt = Val("&h" & HexStartIt) For HexStartIt under 7FFF, I get a positive number. With 842D, I get -31697. How can I fix this? Excel 97 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
IRR Trouble | Excel Worksheet Functions | |||
Trouble with IF | Excel Worksheet Functions | |||
If than Else Trouble | Excel Worksheet Functions | |||
>= Trouble | Excel Discussion (Misc queries) | |||
unexpected conversion trouble | Excel Discussion (Misc queries) |