Can someone explain why the Format function refuses to put leading zeros in front of the hexadecimal numbers A thru F in this code?
Is there a way to code this that will force the 'zeros' in front of the Hex number?Code:For idx = 1 To 15 ' actually need to loop to 1024 TxtStr = Format(Hex(idx), "000") Next





Reply With Quote
