Use Str() function to help document your code when concatenating strings. : Str « String Functions « VBA / Excel / Access / Word






Use Str() function to help document your code when concatenating strings.

 
Sub plusDemo()
    Dim zip As String
    Dim zipx As String
    zip = 55555
    zipx = 4444
    newzip = str(zip) + str(zipx)
End Sub

 








Related examples in the same category

1.Str() Converts a number to a string.