I need a macro that will convert a number from decimal to binary, octave, and Hexadecimal.

and another to convert it back.

This conversion must take place between a variable and user form and back to the variable.

please help

Thanks