Hi ...
i try to follow the code below for my hex coversion somehow it says "sub or function not define" in hexadecimal line.
i try to follow the code below for my hex coversion somehow it says "sub or function not define" in hexadecimal line.
Code:
Private Sub Hex_Click()
Dim value As Double
Dim hex As Double
Dim hex_val As String
hex_val = Hex(10) 'converts 65535 to FFFF
MsgBox hex_val
lbldisplay.caption= CDbl("&H" & hex_val) 'coverts &HF to 65535
MsgBox value
End Sub