Although there is much more to VBA than we have discussed so far we will terminate
our exploration of VBA at this point. To round off our discussions of Excel and VBA,
we will instead consider two examples that were discussed earlier in Excel.
Example 12.4Decimal to Hex Conversion
In Chapter 5, we had considered the problem of finding an equivalent decimal number
for a number in another base system. We will now write a function procedure that
converts a decimal number to its equivalent hexadecimal number. Before we write the
code, let us step through a conversion example. Let the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.