Bonjour,
Essaie cette procédure qui est valable pour les 2 archivages.
Elle s'exécute en fonction de la feuille active.
Cdlt.
Option Explicit
'Option Private Module
Public Sub Archives()
Dim wb As Workbook
Dim ws As Worksheet
Dim ws2 As Worksheet
Dim lCol As Long, lRow As Long
Set wb = ActiveWorkbook
Set ws = ActiveSheet
Set ws2 = wb.Worksheets("Archives")
lCol = 1
If ws.Name = "Doc à remplir si problème" Then lCol = 8
With ws2
lRow = .Cells(.Cells.Rows.Count, lCol).End(xlUp).Row + 1
.Cells(lRow, lCol).Value = ws.Cells(12, 3).Value
.Cells(lRow, lCol + 1).Value = ws.Cells(12, 6).Value
.Cells(lRow, lCol + 2).Value = ws.Cells(14, 3).Value
.Cells(lRow, lCol + 3).Value = ws.Cells(14, 6).Value
If ws.Name = "Doc à remplir si problème" Then
.Cells(lRow, lCol + 4).Value = ws.Cells(19, 2).Value
Else
.Cells(lRow, lCol + 4).Value = ws.Cells(50, 7).Value
End If
End With
Set ws2 = Nothing: Set ws = Nothing
Set wb = Nothing
End Sub