Bonjour
En recopiant une macro issue de ce site, j'ai une erreur 424 :
Sub Archiver()
'
' Archiver Macro
'
Set F = Workbooks.Open(ThisWorkbook.Path & "\Archives Point situation.xlsx")
a = 3
With Effectif
If .Cells(a, "A") <> "" Then <===== Ici
If .Cells(a, "AY") = "ü" Then
Range(.Cells(a, "A"), .Cells(a, "AY")).Cut F.Sheets(1).Cells(Rows.Count, 1).End(xlUp)(2)
End If
a = a + 1
Else
MessageBox.Show ("Aucun archivage requis")
End If
F.Close True
ThisWorkbook.Activate
Sheets(Effectif).Cells.SpecialCells(xlCellTypeBlanks).Delete shift:=xlUp
End With
End Sub
Avez vous des solutions ?