Private Sub CommandButton1_Click()
X = Application.Match(UserForm2.ComboBox1, [ListB], 0)
Sheets("test").[A1] = [ListA].Cells(X, 1)
Sheets("test").[B1] = UserForm2.ComboBox1
Unload UserForm2
End Sub
Private Sub CommandButton1_Click()
With ComboBox1
If .ListIndex > -1 Then Sheets("test").[A1:B1] = Application.Index(.List, .ListIndex + 1, 0)
End With
End Sub