1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
| Sub Vérif_pl()
Dim cell As Range
For Each cell In Sheets("déploiement").Range("c1:c" & Sheets("déploiement").Range("c65000").End(xlUp).Row)
'Recherche avec Ma dans l'inventaire'
Set c = Sheets("Extract_Full_DCOL_EUR_FR_201303").Range("k:k").Find(cell, LookIn:=xlValues, LookAt:=xlWhole)
If Not c Is Nothing Then
'Renvoi le modele '
Sheets("déploiement").Cells(cell.Row, 19) = Sheets("Extract_Full_DCOL_EUR_FR_201303").Cells(c.Row, 13)
'Renvoi le Type'
Sheets("déploiement").Cells(cell.Row, 13) = Sheets("Extract_Full_DCOL_EUR_FR_201303").Cells(c.Row, 12)
'Renvoi la configuration'
Sheets("déploiement").Cells(cell.Row, 12) = Sheets("Extract_Full_DCOL_EUR_FR_201303").Cells(c.Row, 25)
End If
Next cell
For Each cell In Sheets("déploiement").Range("j1:j" & Sheets("déploiement").Range("j65000").End(xlUp).Row)
'Recherche avec ID dans l'inventaire'
Set c = Sheets("Extract_Full_DCOL_EUR_FR_201303").Range("aa:aa").Find(cell, LookIn:=xlValues, LookAt:=xlWhole)
If Not c Is Nothing Then
'Renvoi Mail '
Sheets("déploiement").Cells(cell.Row, 9) = Sheets("Extract_Full_DCOL_EUR_FR_201303").Cells(c.Row, 32)
'Renvoi Nom '
Sheets("déploiement").Cells(cell.Row, 6) = Sheets("Extract_Full_DCOL_EUR_FR_201303").Cells(c.Row, 28)
'Renvoi Prénom '
Sheets("déploiement").Cells(cell.Row, 7) = Sheets("Extract_Full_DCOL_EUR_FR_201303").Cells(c.Row, 29)
'Renvoi Entité '
Sheets("déploiement").Cells(cell.Row, 5) = Sheets("Extract_Full_DCOL_EUR_FR_201303").Cells(c.Row, 1)
'Renvoi Profil'
Sheets("déploiement").Cells(cell.Row, 11) = Sheets("Extract_Full_DCOL_EUR_FR_201303").Cells(c.Row, 26)
End If
Next cell
End Sub |
Partager