What exactly do you want it to do?
This will convert a string of hex characters a string of text characters.
Option Explicit
Sub CallHexToStr()
MsgBox HexToStr("61626a")
End Sub
Function HexToStr(strHex As String) As String
Dim i As Integer
For i = 1 To Len(strHex) - 1 Step 2
HexToStr = HexToStr & Chr$(Val("&h" & Mid$(strHex, i, 2)))
Next i
End Function
Main Topics
Browse All Topics





by: Mark_FreeSoftwarePosted on 2006-06-11 at 02:07:18ID: 16880111
can you explain a little more, since the Hex() vb function does return a string....