Convert octal to decimal

  • Thread starter Thread starter Ken
  • Start date Start date
K

Ken

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

Like the "inverse Oct()"
 
?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.
 
Back
Top