par sophie » 13 Mai 2003 à 13:22
Bonjour,j'aimerais savoir comment je peux transformer ces lignes de codes en une boucle sous Lotus Scirpt! colF1 = xlsSheet.Cells(2,1).Value colF2 = xlsSheet.Cells(2,2).Value colF3 = xlsSheet.Cells(2,3).Value colF4 = xlsSheet.Cells(2,4).Value colF5 = xlsSheet.Cells(2,5).Value colF6 = xlsSheet.Cells(2,6).Value colF7 = xlsSheet.Cells(2,7).Value colF8 = xlsSheet.Cells(2,8).Value colF9 = xlsSheet.Cells(2,9).Value colF10 = xlsSheet.Cells(2,10).Value colF11 = xlsSheet.Cells(2,11).Value colF12 = xlsSheet.Cells(2,12).Value colF13= xlsSheet.Cells(2,13).Value colF14 = xlsSheet.Cells(2,14).Value colF15 = xlsSheet.Cells(2,15).Value colF16 = xlsSheet.Cells(2,16).Value colF17 = xlsSheet.Cells(2,17).Value colF18 = xlsSheet.Cells(2,18).Value colF19 = xlsSheet.Cells(2,19).Value Puis comment faire pour afficher tout ce texte grave a une boucle et non en énumérant tous les cas! Msgbox "Col1 : " + colF1 + " " + "Col2 : " + colF2+ " " + _ "Col3 : " + colF3 + " " + "Col4 : " + colF4+ "Col5 : "+colF5 + "" + "Col6 : "+colF6Merci