Sub suppr()
Dim CD As Workbook 'Classeur Destination'
Dim OD As Worksheet 'Onglet Destination'
Dim CS As Workbook 'Classeur Source'
Dim OS As Worksheet 'Onglet source'
Dim DernLigne As Long 'Dernière ligne de OD'
Dim LCB As Integer 'pour remplir colonne AH'
Dim LIGNE As Long 'ligne de la recherche'
Dim LI As Long 'ligne à effacer'
Dim CBS As Variant 'valeur à rechercher'
Dim R As Range 'Recherche'
Dim plage As Range 'colonne AH'
Set CD = ActiveWorkbook
Set OD = CD.Worksheets(1)
Set CS = Application.Workbooks.Open("Classeur source")
Set OS = CS.Worksheets(1)
'Boucle pour afficher numero de bail'
DernLigne = OD.Range("A" & Rows.Count).End(xlUp).Row
LCB = 1
Do While LCB <= DernLigne
LCB = LCB + 1
OD.Cells(LCB, 34).Value = OD.Cells(LCB, 7).Value & "-" & OD.Cells(LCB, 8).Value
Loop
'Fin de boucle'
'Boucle effacement'
LIGNE = 2
Set plage = Range("AH1", Cells(DernLigne, "AH"))
Do While LIGNE <= 42
CBS = OS.Cells(LIGNE, 3).Value
Set R = OD.Range("AH2:AH" & DernLigne).Find(CBS, , xlValues, xlWhole)
LI = R.Row
OD.Cells(LI, 32).Clear
LIGNE = LIGNE + 1
Loop
'Fin de boucle'
End Sub