Technical ReferenceMacroBasic Language Hex$ Function Syntax Hex[$](Num) Group String Description Return a hex string. Parameters Description Num Return a hex encoded string for this numeric value. See Also Oct$( ), Str$( ), Val( ) Example Sub Main Debug.Print Hex$(15) 'F End Sub