Re : selectionner les données d'une colonne
bonjour michel , le forum
avec un peu de difficulté, j'ai réussi à combiner ma premiere macro et ta macro michel et cela fonctionne ( je restais sur la selection du mot )
voici ma solution :
Sub PROD1()
Sheets("RECUP").Activate
mot = Range("A2").Value
Sheets("PROD").Activate
Dim nbc As Integer, i As Integer
nbc = Range("IV1").End(xlToLeft).Column
For i = 1 To nbc
If Cells(1, i).Value = mot Then
Range(Cells(1, i), Cells(1, i).End(xlDown)).Select
Exit For
End If
Next
End Sub
Par contre , la selection s'arrête à la premiere cellule vide , y a t il un moyen de remédier à cela ?
Merci des reponses que vous pourriez m'apporter
Florent