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.
 

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

Back
Top