De: Laurent longre Objet: Re: Concaténer Date : mardi 23 novembre 1999 19:51 A l'aide d'une fonction, par exemple (concaténation ligne par ligne): function CONCATENE(Plage As range, _ Optional Séparateur As String) As String dim I As long CONCATENE = Plage(1) if Plage.count = 1 then Exit function for I = 2 to Plage.count CONCATENE = CONCATENE & Séparateur & Plage(I) next I end function Sub Test() msgbox CONCATENE([A1:B12], " ") end Sub Cordialement, Laurent > Michel CHARLIER a écrit : > > Bonsoir, > > Désolé si j'abuse, mais > > Comment concaténer sous VBA un nombre variable de Datas et en mettant > un espace entre les datas > > Soit concaténer 12 lignes de cellules, 33 lignes, 113 lignes, x nombre > de cellule > > D'avance merci > > Michel CHARLIER XL97-SR2 / XL2000 > > -- > michel.charlier@skynet.be > >