'Module standard
Public Tableau_Feuille() As Variant
'
'ThisWorbook
Private Sub Workbook_Open()
Dim Feuille As Worksheet
Set Feuille = Sheets(1)
Tableau_Feuille = Feuille.UsedRange
End Sub
'
'Feuille
Private Sub Worksheet_Change(ByVal Target As Range)
Dim i As Long
Dim Log_Message As String
Dim Cible As Workbook
Set Cible = Workbooks("Classeur Log.xlsm")
For i = 1 To Target.Count
If Target(i).Value <> Tableau_Feuille(Target(i).Row, Target(i).Column) Then
Log_Message = Date & " " & Application.UserName & Target(i).Address _
& Tableau_Feuille(Target(i).Row, Target(i).Column) & Target(i).Value
Application.Run "Classeur Log.xlsm!Modif", Log_Message
Tableau_Feuille(Target(i).Row, Target(i).Column) = Target(i).Value
End If
Next
End Sub