'[VB]
Dim Nome As String
Dim Cognome As String

Private Sub Form_Load()
Nome = InputBox("Inserisci il tuo nome")
Cognome = InputBox("Inserisci il tuo cognome")
MsgBox(Cognome & " " & Nome)
End Sub

'Hkproj!Ciao!
'PS: Potresti anche fare così:
'Dim NomeCompleto As String
'NomeCompleto = Cognome & " " & Nome