Field Codes

D

duub1970

I'm doing a calculation in a word document using field codes (office 2007) but
I'm trying to represent the result in Hex. Although I am able to do the
caluclation
I want to if the result is bigger than 16 bits (65535) then when I try to
display
as Hex the field code says this is an error "Number cannot be represented in
specified format". Does anyone know if it's possible to display a Hex number
in
a field code bigger than 16 bits ?
 
M

macropod

hi duub1970,

You may need to split the source value into two (or more parts), using INT and MOD functions (presumably using 16 as the divisor),
converting each part's value to the HEX equivalent as a separate entity.
 

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