Formula To Convert A HEX Value to Decimal

J

jturner

I am having a problem finding a conversion from HEX to DEC in Access. I used
HEX(number) to move from DECimal to HEX but how do I convert back?

Any help is appreciated!
 
M

Mike Labosh

I am having a problem finding a conversion from HEX to DEC in Access. I
used
HEX(number) to move from DECimal to HEX but how do I convert back?

I just did this in the VBA Immediate Window:

? Hex(47)
2F

? Val("&H2F")
47

? Val("&H" & Hex(47))
47

--
Peace & happy computing,

Mike Labosh, MCSD

"It's 4:30 am. Do you know where your stack pointer is?"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top