I have a basic VBA question. See my code below, I would expect an error message for the first msgbox because you can't calculate an integer plus a string, but that's not the case. What is happening? Why, VBA seems to be changing data type here? Thanks in advance.
Sub calc1()
Dim x As String
x = 100
MsgBox 1 + x ' display 101
Msgbox "1" + x ' display 1100
End Sub