From your first post, I think your structure just wasn't correct....
Code:
If num2 = Val(Text1.Text) Then
    ' do your standard calculation
Else
    ' do your conversion
End If