Convert octal to decimal

K

Ken

Is there a standard function that converts an octal number
to the corresponding decimal number?

Like the "inverse Oct()"
 
W

Wayne Morgan

?Oct(8)
10
?CInt(&O10)
8
?&O10
8

The &O (letter O) will designate a number as Octal. From the third example
(from the Immediate window) it appears that VBA will use the number directly
if formatted correctly.
 
Top