Dim test As Integer
test = 10
Dim ans As String
ans = Evaluate("DEC2HEX(test)")
MsgBox ans
Sub tester()
Dim test As Integer
test = 10
Dim ans As String
ans = Evaluate("DEC2HEX(" & test & ")")
MsgBox ans
End Sub