spacesheep1  | Bonjour tout le monde,
   je débute dans le domaine de la macro excel et n'y comprend pas grand chose actuellement d'où mon appelle à vous.
   j'ai une erreur d'exécution '91' qui s'affiche à la fin de ma macro qui est la suivante:
  
  Code :
 - Sub renomer_tlssyp()
 - '
 - ' renomer_tlssyp Macro
 - Dim i As Variant
 - i = "=COUNTIF(C[1],60814545)"
 -     Windows("Classeur1" ).Activate
 -     Sheets("Montants facturés par carte" ).Select
 -     Do
 -     Columns("E:E" ).Select
 -     selection.Find(What:="TLSSYP", After:=ActiveCell, LookIn:=xlFormulas, _
 -         LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
 -         MatchCase:=False, SearchFormat:=False).Activate
 -     ActiveCell.Offset(rowOffset:=0, columnOffset:=-4).Activate
 -     ActiveCell.FormulaR1C1 = "=VLOOKUP(RC[4],Codex!C:C[2],2,FALSE)"
 -     selection.Copy
 -     ActiveCell.Offset(rowOffset:=0, columnOffset:=4).Activate
 -     selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
 -         :=False, Transpose:=False
 -     ActiveCell.Offset(rowOffset:=0, columnOffset:=-4).Activate
 -     Application.CutCopyMode = False
 -     selection.ClearContents
 -     Loop Until i = 1
 - End Sub
 
  |  
 
   Et il bloque à cette endroits   selection.Find(What:="TLSSYP", After:=ActiveCell, LookIn:=xlFormulas, _
         LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
         MatchCase:=False, SearchFormat:=False).Activate
   pour quelle raison?
   je vous remercie de votre aide    |