Private Sub UserForm_Activate()
Dim Bd$
Bd = ThisWorkbook.Path & "\Source Communes.xlsm"
Me.Repaint
With CreateObject("ADODB.Connection")
Sql = "select [Nom_commune],[Code_postal] from [Feuil1$]"
.Open "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & Bd & ";Extended Properties='Excel 12.0;HDR=Yes'"
tablo = .Execute(Sql).GetRows
.Close
With TxtCommuneFacturation
.ColumnCount = 2
.Column = tablo
End With
End With
End Sub