Using Val to convert string to integer
Module Module1 Sub Main() Dim value As Integer value = Val("1") + Val("2") End Sub End Module