J'ai adapté mon code comme cela, mais j'ai une incompatibilité de type sur la ligne: " Set Cel = Columns("A").Find(A, xlValues, xlPart)"
Sub suivi()
Dim WsA As Worksheet, WsS As Worksheet
Dim A As String
Dim Cel As Range
Set WsA = Workbooks("PSI - Spécifications.xlsm").Worksheets("Informations de spécifications")
A = WsA.Range("D19")
Workbooks.Open Filename:= _
"R:\DIR_OPERATIONS\40_USINE_BEAUVAIS\4038_ECHANGE_DEV_PRODUCTION\PSI\Complétude fiche de spécification.xlsx" _
, ReadOnly:=True
Set WsS = Workbooks("Complétude fiche de spécification.xlsx").Worksheets("Suivi")
Set Cel = Columns("A").Find(A, xlValues, xlPart)
If Not Cel Is Nothing Then
Workbooks("Complétude fiche de spécification.xlsx").Worksheets("Suivi").Range("A3") = "deja réalisé"
Else
WsS.Range("A" & WsS.Range("A" & Rows.Count).End(xlUp).Row + 1) = A
End If
Workbooks("Complétude fiche de spécification.xlsx").Save
Workbooks("Complétude fiche de spécification.xlsx").Close
End Sub
Je n'arrive pas à trouver mon erreur... merci