Bonjour à tous,
Merci Gorfael ça fonctionne mais c'est lent, j'ai donc essayé avec FIND comme proposé
1 2 3 4 5 6
| Workbooks("Editeur_ecn.xls").Worksheets("EENSART_REF").Activate
For Each Cell In Range("A1:A65536")
If Cell.Value = var Then
Cells.Find(What:=var, After:=ActiveCell, LookIn:=xlValues, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False, SearchFormat:=False).Activate
New_desfr = ActiveCell.Offset(0, 2) 'textbox de renvoie
New_adddesfr = ActiveCell.Offset(0, 3) 'textbox de renvoie |
Le problème c'est ça bug à ce niveau et je ne comprends pas pourquoi
New_adddesfr = ActiveCell.Offset(0, 3) 'textbox de renvoie
Partager