Salut Emedr,
Salut Patty,
une idée, peut-être, avec Workbook_SheetDeactivate ?
Encoder "NC" inscrit d'office la date dans le tableau d'explications.
La macro vérifie que l'explication se trouve en place pour accepter le changement de feuille : pas besoin de bouton !
Il y a encore beaucoup de taf' avant de finaliser, évidemment !
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
'
With Sh
sSHeet = ActiveSheet.Name
If Target = "NC" Then
iRow = .Range("C" & Rows.Count).End(xlUp).Row + 1
.Range("C" & iRow).Value = Date
End If
End With
'
End Sub
Private Sub Workbook_SheetDeactivate(ByVal Sh As Object)
'
With Sh
iRow = .Range("C" & Rows.Count).End(xlUp).Row
If .Range("C" & iRow).Value <> "" And .Range("G" & iRow).Value = "" Then
MsgBox "Erreur dans " & sSHeet
Worksheets(sSHeet).Activate
End If
End With
'
End Sub
A+