I have a table with a teamName and in it i have names. I am trying to now get. all the names in Team1 to display in textbox1 to say 10. But its only returning the first name in the table.
dbPath = Sheets("Info").Range("a3").Value
CE.Open "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & dbPath
'Getting Data from database
RE.Open "SELECT * FROM GetCrew Where CrewName ='" & Me.cmbCrewName & "'",CE, adOpenStatic
RE.MoveFirst
'Populating text box with data
Sheets("sheet3").Range("N9").Value = RE("EmpName")
so Textbox1 = John Doe
textbox2 = steve
and so on