Ok. Here are the steps to successfully import datas in the supervisor file.
1- Create a file named supervisor.xls in the same directory as the datafile
2- In the data file, right-click on the sheet named table and click on "Visualize the code" or something like that
3- Paste the following code :
Private Sub Worksheet_Change(ByVal Target As Range)
Dim chemin As String
Dim NoteAndDate, Sttatus
Dim SupFile As Workbook
Dim derlign As Long
If Not Application.Intersect(Target, [a2:b2]) Is Nothing And Target.Count = 1 Then
Application.ScreenUpdating = False
chemin = ThisWorkbook.Path & "\"
NoteAndDate = [a2:b2]
Sttatus = Application.Transpose([b41:b43])
Workbooks.Open (chemin & "supervisor.xls") 'open the supervisor file if it is in the same directory as the datafile
Set SupFile = ActiveWorkbook
With SupFile.Sheets(1)
derlign = .Range("a" & .Rows.Count).End(xlUp).Row + 1
.Range("a" & derlign).Resize(, 2) = NoteAndDate
.Range("c" & derlign).Resize(, 3) = Sttatus
End With
SupFile.Close True 'save and close the supervisor file
End If
End Sub
4- Now change the value in A2 or B2 of the sheet table
5- Datas are imported in the supervisor file which is saved and closed.